Skip to content

Commit

Permalink
ci: Add DCO commit check
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Senichev <[email protected]>
  • Loading branch information
artemsen committed Jul 7, 2024
1 parent 33383a2 commit f10a02b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Check.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check
name: Build check

on:
push:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/DCO.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: DCO check

on:
pull_request:
branches: [ "master" ]

jobs:

check:

runs-on: ubuntu-latest

steps:

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

- name: Check DCO
uses: tim-actions/dco@master
with:
commits: ${{ steps.get-pr-commits.outputs.commits }}

0 comments on commit f10a02b

Please sign in to comment.