File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 1717 with :
1818 fetch-depth : 0 # Need full history to compare with main
1919
20- - name : Check commit signatures (local verification)
21- id : git-signatures-check
22- run : bash brev/test-git-signatures.bash origin/main
23-
24- - name : Check commit signatures (GitHub API verification)
25- id : github-api-check
26- if : always() && !cancelled()
20+ - name : Check commit signatures
21+ id : github-api-signature-check
2722 uses : actions/github-script@v7
2823 with :
2924 script : |
@@ -108,7 +103,7 @@ jobs:
108103 }
109104
110105 - name : Comment on PR if check failed
111- if : failure() && steps.github-api-check.outputs.unsigned_count != ''
106+ if : failure() && steps.github-api-signature- check.outputs.unsigned_count != ''
112107 uses : actions/github-script@v7
113108 with :
114109 script : |
@@ -126,8 +121,8 @@ jobs:
126121 }
127122
128123 const prNumber = pulls[0].number;
129- const unsignedCount = '${{ steps.github-api-check.outputs.unsigned_count }}';
130- const unsignedCommits = `${{ steps.github-api-check.outputs.unsigned_commits }}`;
124+ const unsignedCount = '${{ steps.github-api-signature- check.outputs.unsigned_count }}';
125+ const unsignedCommits = `${{ steps.github-api-signature- check.outputs.unsigned_commits }}`;
131126 const runUrl = `${process.env.GITHUB_SERVER_URL}/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}`;
132127
133128 const commentBody = `## ❌ Commit Signature Check Failed
You can’t perform that action at this time.
0 commit comments