We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d32494 + 84c6549 commit cdd8a80Copy full SHA for cdd8a80
1 file changed
.github/workflows/dco.yml
@@ -1,11 +1,19 @@
1
-name: DCO Check
+name: DCO
2
3
on:
4
pull_request:
5
+ branches: [main, master]
6
7
jobs:
8
dco:
9
runs-on: ubuntu-latest
10
steps:
- - name: DCO Check
11
- uses: tim-actions/dco@v1
+ - name: Get PR commits
12
+ id: get-pr-commits
13
+ uses: tim-actions/get-pr-commits@v1.3.1
14
+ with:
15
+ token: ${{ secrets.GITHUB_TOKEN }}
16
+ - name: DCO check
17
+ uses: tim-actions/dco@v1.1.0
18
19
+ commits: ${{ steps.get-pr-commits.outputs.commits }}
0 commit comments