From afb7236cd1959f0679934bf7a8453d7efb238ce4 Mon Sep 17 00:00:00 2001 From: Chris Cranford Date: Tue, 6 Jan 2026 10:27:09 -0500 Subject: [PATCH] debezium/dbz#17 Add commit sign-off comment workflow Signed-off-by: Chris Cranford --- .github/workflows/commit-signoff-check.yml | 17 +++++++++++++++++ .github/workflows/contributor-check.yml | 12 ------------ 2 files changed, 17 insertions(+), 12 deletions(-) create mode 100644 .github/workflows/commit-signoff-check.yml delete mode 100644 .github/workflows/contributor-check.yml diff --git a/.github/workflows/commit-signoff-check.yml b/.github/workflows/commit-signoff-check.yml new file mode 100644 index 0000000..7314527 --- /dev/null +++ b/.github/workflows/commit-signoff-check.yml @@ -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" \ No newline at end of file diff --git a/.github/workflows/contributor-check.yml b/.github/workflows/contributor-check.yml deleted file mode 100644 index c80cf5e..0000000 --- a/.github/workflows/contributor-check.yml +++ /dev/null @@ -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 \ No newline at end of file