Skip to content

Commit 5c98172

Browse files
authored
[ci]: Replace token to rerun workflow when failure in PR (#2887)
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 7dda02d commit 5c98172

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ permissions: write-all
5454

5555
env:
5656
GH_CLI_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57-
GH_CLI_TOKEN_PR: ${{ secrets.SELENIUM_CI_TOKEN || secrets.GITHUB_TOKEN }}
57+
GH_CLI_TOKEN_PR: ${{ secrets.TRIGGER_CI_TOKEN || secrets.GITHUB_TOKEN }}
5858
RUN_ID: ${{ github.run_id }}
5959
RERUN_FAILED_ONLY: ${{ github.event.inputs.rerunFailedOnly || true }}
6060
RUN_ATTEMPT: ${{ github.run_attempt }}

.github/workflows/helm-chart-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ permissions: write-all
3030

3131
env:
3232
GH_CLI_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33-
GH_CLI_TOKEN_PR: ${{ secrets.SELENIUM_CI_TOKEN || secrets.GITHUB_TOKEN }}
33+
GH_CLI_TOKEN_PR: ${{ secrets.TRIGGER_CI_TOKEN || secrets.GITHUB_TOKEN }}
3434
RUN_ID: ${{ github.run_id }}
3535
RERUN_FAILED_ONLY: ${{ github.event.inputs.rerunFailedOnly || true }}
3636
RUN_ATTEMPT: ${{ github.run_attempt }}

.github/workflows/update-dev-beta-browser-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions: write-all
1616

1717
env:
1818
GH_CLI_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19-
GH_CLI_TOKEN_PR: ${{ secrets.SELENIUM_CI_TOKEN || secrets.GITHUB_TOKEN }}
19+
GH_CLI_TOKEN_PR: ${{ secrets.TRIGGER_CI_TOKEN || secrets.GITHUB_TOKEN }}
2020
RUN_ID: ${{ github.run_id }}
2121
RERUN_FAILED_ONLY: ${{ github.event.inputs.rerunFailedOnly || true }}
2222
RUN_ATTEMPT: ${{ github.run_attempt }}

0 commit comments

Comments
 (0)