Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 25850cb

Browse files
committed
Add the github action to check that commit are signed
1 parent 7570817 commit 25850cb

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Check signed commits in PR
2+
on: [pull_request,pull_request_target]
3+
jobs:
4+
check-signed-commits:
5+
name: Check signed commits in PR
6+
runs-on: ubuntu-latest
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
steps:
11+
- name: Information about how to sign commits see https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits
12+
# "with comment" below does not work for forks.
13+
run: |
14+
echo "If you need to sign commits, Please see https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits"
15+
- name: Check signed commits in PR on fail see above information.
16+
uses: 1Password/check-signed-commits-action@v1
17+
with:
18+
comment: |
19+
Thank you for your contribution, but we need you to sign your commits. Please see https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits

0 commit comments

Comments
 (0)