Skip to content

Commit b9c9e27

Browse files
committed
tentative simplifcation
1 parent 434642d commit b9c9e27

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/e2e-external-phase-2.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@ jobs:
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: >
@@ -83,7 +76,7 @@ jobs:
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 }}

0 commit comments

Comments
 (0)