Skip to content

Commit 610ac87

Browse files
committed
Fix
1 parent af6ac77 commit 610ac87

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/cloudflare-preview.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ on:
2222
cloudflare_account_id:
2323
description: 'Cloudflare Account ID'
2424
required: true
25-
github_token:
26-
description: 'GitHub Token'
25+
matzbot_github_token:
26+
description: 'GitHub Token for Matzbot'
2727
required: true
2828

2929
permissions:
@@ -60,7 +60,7 @@ jobs:
6060
- name: Comment on PR with preview URL
6161
uses: actions/github-script@v7
6262
with:
63-
github-token: ${{ secrets.github_token }}
63+
github-token: ${{ secrets.matzbot_github_token }}
6464
script: |
6565
const prNumber = ${{ inputs.pr_number }};
6666
const url = "${{ steps.deploy.outputs.deployment-url }}";

.github/workflows/pr-preview-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
secrets:
1717
cloudflare_api_token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
1818
cloudflare_account_id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
19-
github_token: ${{ secrets.MATZBOT_GITHUB_TOKEN }}
19+
matzbot_github_token: ${{ secrets.MATZBOT_GITHUB_TOKEN }}
2020

2121
# For fork PRs - this job requires approval
2222
wait-for-approval:
@@ -41,4 +41,4 @@ jobs:
4141
secrets:
4242
cloudflare_api_token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
4343
cloudflare_account_id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
44-
github_token: ${{ secrets.MATZBOT_GITHUB_TOKEN }}
44+
matzbot_github_token: ${{ secrets.MATZBOT_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)