Skip to content

Commit 4eb0d80

Browse files
committed
Add GitHub workflow to check pull requests for DCO
Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent 91a6fc5 commit 4eb0d80

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/dco.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# .github/workflows/dco.yml
2+
name: DCO
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
jobs:
9+
check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Set up Python 3.x
14+
uses: actions/setup-python@v4
15+
with:
16+
python-version: '3.x'
17+
- name: Check DCO
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
run: |
21+
pip3 install -U dco-check
22+
dco-check

0 commit comments

Comments
 (0)