Skip to content

Commit e440e41

Browse files
authored
cherry-pick(#16426): devops: use REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN everywhere (#16428)
1 parent fdf31cd commit e440e41

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/pr_check_client_side_changes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Create GitHub issue
1616
uses: actions/github-script@v4
1717
with:
18-
github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
18+
github-token: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
1919
script: |
2020
const { data } = await github.git.getCommit({
2121
owner: context.repo.owner,

.github/workflows/publish_canary.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ jobs:
7878
run: bash utils/build/deploy-trace-viewer.sh --canary
7979
if: contains(github.ref, 'main')
8080
env:
81-
GH_SERVICE_ACCOUNT_TOKEN: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
81+
GH_SERVICE_ACCOUNT_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
8282
- name: Deploy BETA
8383
run: bash utils/build/deploy-trace-viewer.sh --beta
8484
if: contains(github.ref, 'release')
8585
env:
86-
GH_SERVICE_ACCOUNT_TOKEN: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
86+
GH_SERVICE_ACCOUNT_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}

.github/workflows/publish_release_traceviewer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
- name: Deploy Stable
1919
run: bash utils/build/deploy-trace-viewer.sh --stable
2020
env:
21-
GH_SERVICE_ACCOUNT_TOKEN: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
21+
GH_SERVICE_ACCOUNT_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}

.github/workflows/roll_browser_into_playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Create Pull Request
3737
uses: actions/github-script@v4
3838
with:
39-
github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
39+
github-token: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
4040
script: |
4141
const response = await github.pulls.create({
4242
owner: 'microsoft',

0 commit comments

Comments
 (0)