Skip to content

Commit

Permalink
chore(ci): add a workflow for DCO check to avoid DCO bot system failu…
Browse files Browse the repository at this point in the history
…re (autowarefoundation#7270)

Signed-off-by: Kotaro Yoshimoto [email protected]
  • Loading branch information
HansRobo authored Jun 5, 2024
1 parent 10a83d9 commit 9ec94f0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/dco.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: DCO
# ref: https://github.com/anchore/syft/pull/2926/files
on:
pull_request:
jobs:
dco:
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 'pre-commit-ci\[bot\]@users\.noreply\.github\.com'

0 comments on commit 9ec94f0

Please sign in to comment.