Skip to content

Commit 3c851f1

Browse files
author
Dan Lynn
committed
Fix DCO action
Signed-off-by: Dan Lynn <dan.lynn@fivetran.com>
1 parent 52ec7fe commit 3c851f1

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/dco.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1-
name: DCO
2-
3-
on:
4-
pull_request:
5-
branches: [main]
1+
name: Sanity check
2+
on: [pull_request]
63

74
jobs:
8-
dco:
9-
name: DCO Check
5+
commits_check_job:
106
runs-on: ubuntu-latest
7+
name: Commits Check
118
steps:
12-
- uses: tim-actions/dco@main
9+
- name: Get PR Commits
10+
id: 'get-pr-commits'
11+
uses: tim-actions/get-pr-commits@master
12+
with:
13+
token: ${{ secrets.GITHUB_TOKEN }}
14+
- name: DCO Check
15+
uses: tim-actions/dco@master
16+
with:
17+
commits: ${{ steps.get-pr-commits.outputs.commits }}

0 commit comments

Comments
 (0)