File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ permissions: write-all
17
17
jobs :
18
18
process-cla-approval :
19
19
runs-on : ubuntu-latest
20
- if : github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request_target' && github.event.label.name == 'cla-signed' && github.actor != 'github-actions[bot]') || github.event_name == 'issue_comment'
20
+ if : github.event_name == 'workflow_dispatch' || github.event_name == 'issue_comment' || (github.event_name == 'pull_request_target' && github.event.label.name == 'cla-signed' && github.actor != 'github-actions[bot]')
21
21
22
22
steps :
23
23
@@ -250,11 +250,20 @@ jobs:
250
250
console.log(`CLA approved for ${prAuthor} by ${approvedBy} via ${method}`)
251
251
252
252
- name : Record manual CLA approval
253
- if : steps.process-cla-approval.outputs.pr_number
253
+ if : always() && steps.process-cla-approval.outputs.pr_number != ''
254
254
run : |
255
+ echo "=== DEBUG: Record manual CLA approval step starting ==="
256
+ echo "Available outputs:"
257
+ echo " pr_number: '${{ steps.process-cla-approval.outputs.pr_number }}'"
258
+ echo " pr_author: '${{ steps.process-cla-approval.outputs.pr_author }}'"
259
+ echo " approved_by: '${{ steps.process-cla-approval.outputs.approved_by }}'"
260
+
255
261
# Ensure signatures file exists
256
262
if [ ! -f "cla-signatures.json" ]; then
257
263
echo '{"signatures": []}' > cla-signatures.json
264
+ echo "Created new cla-signatures.json file"
265
+ else
266
+ echo "cla-signatures.json already exists"
258
267
fi
259
268
260
269
# Extract approval details from previous step outputs
You can’t perform that action at this time.
0 commit comments