Skip to content

Commit 66787ab

Browse files
seabass-labraxkestewart
authored andcommitted
Add CI job to check for DCO sign-off messages
Signed-off-by: Sebastian Crane <seabass-labrax@gmx.com>
1 parent 7a546dc commit 66787ab

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/dco.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Check for DCO sign-off messages
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
branches:
9+
- '**'
10+
11+
jobs:
12+
dco:
13+
name: Check for DCO sign-off messages
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: Install dco-check
18+
run: sudo apt install -y python3-pip && pip install dco-check
19+
- name: Run `dco-check`
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
run: dco-check

0 commit comments

Comments
 (0)