File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ jobs:
141
141
core.setOutput('pr_number', prNumber);
142
142
core.setOutput('pr_author', prAuthor);
143
143
core.setOutput('approved_by', prAuthor);
144
- core.setOutput('pr_head_sha ', pr.head.sha );
144
+ core.setOutput('pr_head_ref ', pr.head.ref );
145
145
146
146
// Add confirmation comment
147
147
const confirmationBody = [
@@ -170,8 +170,8 @@ jobs:
170
170
uses : actions/checkout@v4
171
171
with :
172
172
fetch-depth : 0
173
- # For issue_comment events, checkout the PR head
174
- ref : ${{ steps.process-comment.outputs.pr_head_sha }}
173
+ # For issue_comment events, checkout the PR head branch
174
+ ref : ${{ steps.process-comment.outputs.pr_head_ref }}
175
175
token : ${{ steps.generate-token.outputs.token || secrets.GITHUB_TOKEN }}
176
176
177
177
- name : Record signature to file
You can’t perform that action at this time.
0 commit comments