forked from OpenCTI-Platform/connectors
-
Notifications
You must be signed in to change notification settings - Fork 0
19 lines (19 loc) · 973 Bytes
/
check-verified-commit.yml
File metadata and controls
19 lines (19 loc) · 973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: Check signed commits in PR
on: [pull_request,pull_request_target]
jobs:
check-signed-commits:
name: Check signed commits in PR
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Information about how to sign commits see https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits
# "with comment" below does not work for forks.
run: |
echo "If you need to sign commits, Please see https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits"
- name: Check signed commits in PR on fail see above information.
uses: 1Password/check-signed-commits-action@v1
with:
comment: |
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