Skip to content

Commit 9cfe4e4

Browse files
committed
add dco github actions
Signed-off-by: Mike Ng <[email protected]>
1 parent 4859a86 commit 9cfe4e4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/dco.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: DCO
2+
on:
3+
workflow_dispatch: {}
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
dco_check:
10+
runs-on: ubuntu-latest
11+
name: DCO Check
12+
steps:
13+
- name: Get PR Commits
14+
id: 'get-pr-commits'
15+
uses: tim-actions/get-pr-commits@master
16+
with:
17+
token: ${{ secrets.GITHUB_TOKEN }}
18+
- name: DCO Check
19+
uses: tim-actions/dco@master
20+
with:
21+
commits: ${{ steps.get-pr-commits.outputs.commits }}

0 commit comments

Comments
 (0)