Skip to content

Commit 38b5ea4

Browse files
committed
Add DCO check.
1 parent 121dc11 commit 38b5ea4

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/dco-check.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: DCO check
2+
3+
on:
4+
pull_request:
5+
types:
6+
- "opened"
7+
- "reopened"
8+
- "synchronize"
9+
- "labeled"
10+
- "unlabeled"
11+
12+
jobs:
13+
commits_check_job:
14+
runs-on: ubuntu-latest
15+
name: Commits Check
16+
steps:
17+
- name: Get PR Commits
18+
id: "get-pr-commits"
19+
uses: tim-actions/get-pr-commits@master
20+
with:
21+
token: ${{ secrets.GITHUB_TOKEN }}
22+
- name: DCO Check
23+
uses: tim-actions/dco@master
24+
with:
25+
commits: ${{ steps.get-pr-commits.outputs.commits }}

0 commit comments

Comments
 (0)