use dco tool during gh app outage (#2926)

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
Alex Goodman
2024-06-04 17:31:29 +00:00
committed by GitHub
parent fe0b78b7fe
commit 2f39322f81
+23
View File
@@ -0,0 +1,23 @@
name: DCO
on:
pull_request:
push:
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.x
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Check DCO
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pip3 install -U dco-check
dco-check --verbose --exclude-pattern 'dependabot\[bot\]@users\.noreply\.github\.com'