Skip to content

Commit

Permalink
chore: Add a DCO check.
Browse files Browse the repository at this point in the history
Closes #936

Note that this workflow currently triggers on merge queue entries, but
I'm not sure whether that functionality will work, because the Probot
app upon which it's based doesn't have explicit support for that.
However, it may not matter in practice, as presumably any PR that
enters the merge queue will have already passed the DCO check in the
first place.

For now, this check isn't a required job, only advisory, so it won't
block anything from merging, in any case.

Signed-off-by: Drew Hess <[email protected]>
  • Loading branch information
dhess committed May 14, 2023
1 parent fdd98a4 commit 7aac127
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/check-dco.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check DCO

on:
pull_request:
merge_group:

jobs:
check-dco:
permissions:
checks: write
contents: read
pull-requests: read
statuses: write

runs-on: ubuntu-latest

steps:
- name: Check DCO
uses: hackworthltd/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7aac127

Please sign in to comment.