Skip to content

Commit

Permalink
workflows: invoke DCO check for PRs to this repo
Browse files Browse the repository at this point in the history
It's good general practice, and it also makes it easier to test changes to
the workflows.

Signed-off-by: Benjamin Gilbert <[email protected]>
  • Loading branch information
bgilbert committed Dec 15, 2023
1 parent da61f83 commit 8dcd8c5
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/local-dco-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# DCO check for PRs to this repo

name: DCO

on:
pull_request:
branches: [main]

permissions:
contents: read

jobs:
check:
name: Organization
uses: ./.github/workflows/dco-check.yml
19 changes: 19 additions & 0 deletions .github/workflows/local-dco-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# DCO report for PRs to this repo

name: DCO report

on:
workflow_run:
workflows: ["DCO"]
types:
- completed

permissions:
contents: none

jobs:
comment:
name: Organization
uses: ./.github/workflows/dco-report.yml
secrets:
OPENSLIDE_BOT_TOKEN: ${{ secrets.OPENSLIDE_BOT_TOKEN }}

0 comments on commit 8dcd8c5

Please sign in to comment.