Skip to content

Commit 1422855

Browse files
committed
Use a dedicated github token instead of the provided GITHUB_TOKEN for API access
1 parent 9513216 commit 1422855

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Build site
3030
run: pnpm --filter docs build
3131
env:
32-
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
GITHUB_API_TOKEN: ${{ secrets.GH_API_TOKEN }}
3333

3434
- name: Upload build artifact
3535
uses: actions/upload-artifact@v4

.github/workflows/deploy-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Build site
3232
run: pnpm --filter docs build
3333
env:
34-
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
GITHUB_API_TOKEN: ${{ secrets.GH_API_TOKEN }}
3535

3636
- name: Deploy to Cloudflare Pages
3737
uses: AdrianGonz97/refined-cf-pages-action@v1

0 commit comments

Comments
 (0)