Skip to content

Commit 5fe81b0

Browse files
committed
chore(dco): add dco checker
Signed-off-by: Bobo Bäck Engström <bobo@id8-engineering.io>
1 parent 22c5fa1 commit 5fe81b0

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

dco.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: DCO
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
14+
15+
- name: Install uv
16+
uses: astral-sh/setup-uv@0f7d9c8f16e640867b3684563419790c05b6cfbf # v3.2.0
17+
18+
- name: Install dco-check using uv
19+
run: |
20+
uv tool install dco-check --upgrade
21+
22+
- name: Check DCO
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
run: |
26+
dco-check --verbose --exclude-pattern 'dependabot\[bot\]@users\.noreply\.github\.com'

0 commit comments

Comments
 (0)