Skip to content

Commit 3230a72

Browse files
committed
gh: auto labeling unsigned PR
1 parent 7253a41 commit 3230a72

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Check Signed PR
2+
on: pull_request
3+
4+
jobs:
5+
build:
6+
name: Check Signed Commit
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v3
11+
12+
- name: Check signed commits in PR
13+
uses: 1Password/check-signed-commits-action@v1
14+
with:
15+
comment: |
16+
You must GPG-sign your work, certifying that you either wrote the work or otherwise have the right to pass it on to an open-source project. See Developer's Certificate of Origin. See [signing][1].
17+
18+
**Note that all your commits must be signed.** If you have an unsigned commit, you can sign the previous commits by referring to [gpg-signing-old-commits][2].
19+
[1]: https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#signing
20+
[2]: https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/workflow.md#gpg-signing-old-commits

0 commit comments

Comments
 (0)