File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ runs:
18
18
shell : bash
19
19
env :
20
20
PREVIEWER_URL : " ${{ inputs.previewer-server }}/preview/${{ github.repository }}/${{ github.event.issue.number }}"
21
- ARTIFACT_JOB : " ${{ inputs.artifact-job }}"
21
+ ARTIFACT_JOB : ${{ inputs.artifact-job }}
22
22
run : echo "previewer-response=$(curl -X POST -f --data-urlencode \"job=${JOB}\" ${PREVIEWER_URL})" >> "$GITHUB_OUTPUT"
23
23
- name : " Add GitHub Comment"
24
24
shell : bash
25
25
env :
26
26
ADD_COMMENT_URL : " https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments"
27
- AUTHORIZATION_HEADER : " Authorization: token ${{ inputs.github_token }}"
28
- PREVIEWER_RESPONSE : " ${{ steps.call-previewer.outputs.previewer-response }}"
27
+ GITHUB_TOKEN : ${{ inputs.github_token }}
28
+ PREVIEWER_RESPONSE : ${{ steps.call-previewer.outputs.previewer-response }}
29
29
run : |
30
- curl -H "${AUTHORIZATION_HEADER }" -d '{"body": "${{ env.PREVIEWER_RESPONSE }}"}' ${ADD_COMMENT_URL}
30
+ curl -H "Authorization: token ${GITHUB_TOKEN }" -d '{"body": "${{ env.PREVIEWER_RESPONSE }}"}' ${ADD_COMMENT_URL}
You can’t perform that action at this time.
0 commit comments