Skip to content

Commit

Permalink
add dco workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Sally MacFarlane <[email protected]>
  • Loading branch information
macfarla committed Jun 10, 2024
1 parent c0096c6 commit 56a0e39
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/dco.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: DCO

on: [pull_request]

jobs:
dco_check:
runs-on: ubuntu-latest
name: DCO
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Get PR Commits
id: 'get-pr-commits'
uses: tim-actions/get-pr-commits@198af03565609bb4ed924d1260247b4881f09e7d
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: DCO Check
uses: tim-actions/dco@f2279e6e62d5a7d9115b0cb8e837b777b1b02e21
with:
commits: ${{ steps.get-pr-commits.outputs.commits }}

0 comments on commit 56a0e39

Please sign in to comment.