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 13:31:29 -04:00 committed by GitHub
parent fe0b78b7fe
commit 2f39322f81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

23
.github/workflows/dco.yaml vendored Normal file
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'