Skip to content

Commit f36c672

Browse files
authored
Add DCO check using GHA (#520)
Signed-off-by: Marcin Owsiany <[email protected]>
1 parent 1e9828b commit f36c672

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/dco.yaml

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

0 commit comments

Comments
 (0)