Skip to content

Commit 528a53f

Browse files
authored
ci: add a dco check (#34)
Signed-off-by: Ramkumar Chinchani <[email protected]>
1 parent 6259d30 commit 528a53f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/dco.yaml

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

0 commit comments

Comments
 (0)