Skip to content

Commit c6581ad

Browse files
author
Brynley Llewellyn-Roux
committed
feat: switch to GITHUB_TOKEN instead of GH_TOKEN
1 parent 209acd0 commit c6581ad

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/application-js-cloudflare-staging.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
required: true
1616
DEPLOY_SECRETS:
1717
required: true
18-
GH_TOKEN:
18+
GITHUB_TOKEN:
1919
required: true
2020
GIT_AUTHOR_EMAIL:
2121
required: true
@@ -57,7 +57,7 @@ jobs:
5757
- uses: actions/checkout@v4
5858
- name: Create Pull Request from Staging to Master
5959
env:
60-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
60+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6161
run: |
6262
gh pr create \
6363
--head staging \
@@ -153,10 +153,10 @@ jobs:
153153
with:
154154
lfs: true
155155
fetch-depth: 0
156-
token: ${{ secrets.GH_TOKEN }}
156+
token: ${{ secrets.GITHUB_TOKEN }}
157157
- name: Merge Pull Request from Staging to Master
158158
env:
159-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
159+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
160160
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
161161
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
162162
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}

.github/workflows/library-js-staging.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: "CI / Library JS Staging"
33
on:
44
workflow_call:
55
secrets:
6-
GH_TOKEN:
6+
GITHUB_TOKEN:
77
required: true
88
GIT_AUTHOR_EMAIL:
99
required: true
@@ -41,7 +41,7 @@ jobs:
4141
- uses: actions/checkout@v4
4242
- name: Create Pull Request from Staging to Master
4343
env:
44-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
44+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4545
run: |
4646
gh pr create \
4747
--head staging \
@@ -177,10 +177,10 @@ jobs:
177177
- uses: actions/checkout@v4
178178
with:
179179
fetch-depth: 0
180-
token: ${{ secrets.GH_TOKEN }}
180+
token: ${{ secrets.GITHUB_TOKEN }}
181181
- name: Merge Pull Request from Staging to Master
182182
env:
183-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
183+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
184184
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
185185
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
186186
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}

0 commit comments

Comments
 (0)