Skip to content

Commit

Permalink
Add DCO check using GHA (#520)
Browse files Browse the repository at this point in the history
Signed-off-by: Marcin Owsiany <porridge@redhat.com>
  • Loading branch information
porridge committed Jun 5, 2024
1 parent 1e9828b commit f36c672
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/dco.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: DCO
on: [pull_request]

jobs:
commits_check_job:
runs-on: ubuntu-latest
name: DCO check
steps:
- name: Get PR Commits
id: 'get-pr-commits'
uses: tim-actions/get-pr-commits@v1.3.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: DCO Check
uses: tim-actions/dco@v1.1.0
with:
commits: ${{ steps.get-pr-commits.outputs.commits }}

0 comments on commit f36c672

Please sign in to comment.