From c24216cf307bba7d19ed579a10ef541e28dfd4bc Mon Sep 17 00:00:00 2001 From: Valentin271 <36198422+Valentin271@users.noreply.github.com> Date: Mon, 8 Jan 2024 13:30:06 +0100 Subject: [PATCH] chore: add comment on PRs with unsigned commits (#768) --- .github/workflows/check-pr.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index 76edb9b8..a2faa410 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -44,6 +44,23 @@ jobs: header: pr-title-lint-error delete: true + check-signed: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + # Check commit signature and add comment if needed + - name: Check signed commits in PR + uses: 1Password/check-signed-commits-action@v1 + with: + comment: | + Thank you for opening this pull request! + + We require commits to be signed and it looks like this PR contains unsigned commits. + + Get help in the [CONTRIBUTING.md](https://github.com/ratatui-org/ratatui/blob/main/CONTRIBUTING.md#sign-your-commits) + or on [Github doc](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits). + check-breaking-change-label: runs-on: ubuntu-latest env: