Skip to content

Commit 6caab57

Browse files
committed
Fix the signing commits check GitHub workflow for PRs from forks
I also upgraded the actions/checkout GitHub Action and made the names clearer.
1 parent eb4710d commit 6caab57

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/check-signed.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
---
2-
name: Check signed commits
3-
on: pull_request
2+
name: Validate if commits are signed
3+
on: [pull_request, pull_request_target]
44

55
jobs:
66
signed-commits-check:
7-
name: Validate if commits in PR are signed
87
runs-on: ubuntu-latest
98
steps:
109

11-
- name: Check out code
12-
uses: actions/checkout@v3
10+
- name: Check out the repository code
11+
uses: actions/checkout@v4.1.4
1312

14-
- name: Check signed commits in PR
13+
- name: Check if the commits are signed
1514
uses: 1Password/check-signed-commits-action@v1

0 commit comments

Comments
 (0)