Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: use `REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN` everywhere (#16426)

Andrey Lushnikov232dee8fc6ff
diff --git a/.github/workflows/pr_check_client_side_changes.yml b/.github/workflows/pr_check_client_side_changes.yml
index 8cd83ac5da..fc8e5cbd16 100644
--- a/.github/workflows/pr_check_client_side_changes.yml
+++ b/.github/workflows/pr_check_client_side_changes.yml
@@ -15,7 +15,7 @@ jobs:
- name: Create GitHub issue
uses: actions/github-script@v4
with:
- github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
+ github-token: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
script: |
const { data } = await github.git.getCommit({
owner: context.repo.owner,
diff --git a/.github/workflows/publish_canary.yml b/.github/workflows/publish_canary.yml
index 803c201275..b390b9ea98 100644
--- a/.github/workflows/publish_canary.yml
+++ b/.github/workflows/publish_canary.yml
@@ -78,9 +78,9 @@ jobs:
run: bash utils/build/deploy-trace-viewer.sh --canary
if: contains(github.ref, 'main')
env:
- GH_SERVICE_ACCOUNT_TOKEN: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
+ GH_SERVICE_ACCOUNT_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
- name: Deploy BETA
run: bash utils/build/deploy-trace-viewer.sh --beta
if: contains(github.ref, 'release')
env:
- GH_SERVICE_ACCOUNT_TOKEN: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
+ GH_SERVICE_ACCOUNT_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
diff --git a/.github/workflows/publish_release_traceviewer.yml b/.github/workflows/publish_release_traceviewer.yml
index 6824ab7674..bb69f98a29 100644
--- a/.github/workflows/publish_release_traceviewer.yml
+++ b/.github/workflows/publish_release_traceviewer.yml
@@ -18,4 +18,4 @@ jobs:
- name: Deploy Stable
run: bash utils/build/deploy-trace-viewer.sh --stable
env:
- GH_SERVICE_ACCOUNT_TOKEN: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
+ GH_SERVICE_ACCOUNT_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
diff --git a/.github/workflows/roll_browser_into_playwright.yml b/.github/workflows/roll_browser_into_playwright.yml
index 56e99143a6..4fb56fc74e 100644
--- a/.github/workflows/roll_browser_into_playwright.yml
+++ b/.github/workflows/roll_browser_into_playwright.yml
@@ -36,7 +36,7 @@ jobs:
- name: Create Pull Request
uses: actions/github-script@v4
with:
- github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
+ github-token: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
script: |
const response = await github.pulls.create({
owner: 'microsoft',