Skip to content

Commit

Permalink
github: Replace commit signed-off check
Browse files Browse the repository at this point in the history
This allows checking PRs with an abundance of commits.
Passing the commit information between the actions might
hit the "Argument list too long" limit of GitHub.

Signed-off-by: Julian Pelizäus <[email protected]>
  • Loading branch information
roosterfish committed Feb 1, 2024
1 parent 653e243 commit ba4a821
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,5 @@ jobs:
- name: Check if CLA signed
uses: simondeziel/has-signed-canonical-cla@implicit-approval-from-licenses

- name: Get PR Commits
id: 'get-pr-commits'
uses: tim-actions/get-pr-commits@master
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Check that all commits are signed-off
uses: tim-actions/dco@master
with:
commits: ${{ steps.get-pr-commits.outputs.commits }}
uses: live627/check-pr-signoff-action@v1

0 comments on commit ba4a821

Please sign in to comment.