debezium/dbz#17 Add commit sign-off comment workflow

Signed-off-by: Chris Cranford <chris@hibernate.org>
This commit is contained in:
Chris Cranford
2026-01-06 10:27:09 -05:00
parent ada556555b
commit afb7236cd1
2 changed files with 17 additions and 12 deletions

View File

@@ -0,0 +1,17 @@
name: Commit Sign-off Check
on:
# ATTENTION: See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
# re security implications of using this trigger; in particular, no code from PR branches must
# be executed in any flows triggered by it
- pull_request_target
jobs:
# Checks that all commits contain sign-offs
# Will add/remove comments as necessary based on the current status of the pull request.
check-signed-commits:
name: Check signed commits
runs-on: ubuntu-latest
steps:
- uses: debezium/dbz/.github/actions/check-dco@main
with:
add-comments: "true"

View File

@@ -1,12 +0,0 @@
name: Contributor Check
on:
pull_request:
jobs:
# Checks that all commits contain sign-offs
check-signed-commits:
name: Check signed commits
runs-on: ubuntu-latest
steps:
- uses: debezium/dbz/.github/actions/check-dco@main