From 89c2fa77c82fb8f3b4a5c04f0e54e637103f4f3d Mon Sep 17 00:00:00 2001 From: Simon Barendse Date: Thu, 6 Mar 2025 11:25:32 +0100 Subject: [PATCH] Check signed commits This action immediately leaves a message on the pull request letting the author know they need to sign their commits, and explains how they can do so. This enables authors to tackle commit signing while they're still in the flow of the contribution, and prevents pull requests going stale as seen in https://github.com/1Password/developer-community-projects/pull/19 --- .github/workflows/check-signed-commits.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/check-signed-commits.yml diff --git a/.github/workflows/check-signed-commits.yml b/.github/workflows/check-signed-commits.yml new file mode 100644 index 0000000..f6d8092 --- /dev/null +++ b/.github/workflows/check-signed-commits.yml @@ -0,0 +1,13 @@ +name: Check signed commits in PR +on: pull_request_target + +jobs: + build: + name: Check signed commits in PR + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - name: Check signed commits in PR + uses: 1Password/check-signed-commits-action@main