Skip to content

Commit dceb540

Browse files
authored
Add DCO Check Workflow (#103)
* added dco workflow check Signed-off-by: Amit Galitzky <amgalitz@amazon.com> * added dco workflow check Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
1 parent fab2af9 commit dceb540

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/dco.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Developer Certificate of Origin Check
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
check:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Get PR Commits
11+
id: 'get-pr-commits'
12+
uses: tim-actions/get-pr-commits@v1.1.0
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}
15+
- name: DCO Check
16+
uses: tim-actions/dco@v1.1.0
17+
with:
18+
commits: ${{ steps.get-pr-commits.outputs.commits }}

0 commit comments

Comments
 (0)