File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 1919 pull-requests : write
2020 contents : write
2121 steps :
22- - name : Generate a token
23- id : generate_token
24- uses : actions/create-github-app-token@v1
25- with :
26- app-id : ${{ secrets.E2E_APP_ID }}
27- private-key : ${{ secrets.E2E_APP_PRIVATE_KEY }}
28-
2922 - name : Extract PR number from artifact
3023 id : extract_pr_number
3124 run : >
8376 -F details_url="$(gh api "/repos/py-cov-action/python-coverage-comment-action/actions/jobs/${JOB_ID}" --jq '.html_url')"
8477 --jq '"CHECK_RUN_ID=" + (.id | tostring)' > "${GITHUB_OUTPUT}"
8578 env :
86- GITHUB_TOKEN : ${{ steps.generate_token.outputs .token }}
79+ GITHUB_TOKEN : ${{ github .token }}
8780 HEAD_SHA : ${{ steps.extract_commit.outputs.COMMIT_ID }}
8881 JOB_ID : ${{ steps.extract_job_id.outputs.JOB_ID }}
8982
@@ -130,6 +123,6 @@ jobs:
130123 -F conclusion=${JOB_STATUS}
131124 -F status=completed
132125 env :
133- GITHUB_TOKEN : ${{ steps.generate_token.outputs .token }}
126+ GITHUB_TOKEN : ${{ github .token }}
134127 CHECK_RUN_ID : ${{ steps.create_check.outputs.CHECK_RUN_ID }}
135128 JOB_STATUS : ${{ job.status }}
You can’t perform that action at this time.
0 commit comments