From d4e67aa7739948750c29164fb0b221410f4fdac0 Mon Sep 17 00:00:00 2001 From: JSOwens Date: Tue, 29 Jul 2025 20:45:22 -0400 Subject: [PATCH] .github: add a check for pull request commits to be signed off Added a workflow to check the commit messages of a PR to make sure each is signed off by the author. A repo token is required, here named SECRET_TOKEN, which has access to read and write PR comments. Signed-off-by: JSOwens --- .github/workflows/pr-signoff-check.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/pr-signoff-check.yml diff --git a/.github/workflows/pr-signoff-check.yml b/.github/workflows/pr-signoff-check.yml new file mode 100644 index 0000000000..3523d9a1e8 --- /dev/null +++ b/.github/workflows/pr-signoff-check.yml @@ -0,0 +1,15 @@ +name: Check PR Sign-off + +on: [pull_request] + +jobs: + check-sign-off: + name: Write comment if unsigned commits found + env: + FORCE_COLOR: 1 + runs-on: ubuntu-latest + + steps: + - uses: live627/check-pr-signoff-action@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }}