Skip to content

Commit 90043fa

Browse files
authored
ci: 👷 Move GITHUB_TOKEN into github-token secrets (#92)
# Description Need to pass the `GITHUB_TOKEN` directly into the reusable workflow, not use it outside. No review needed.
1 parent c8126ad commit 90043fa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build-website.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ on:
88
# Limit token permissions for security
99
permissions: read-all
1010

11-
# This is to allow using `gh` CLI
12-
env:
13-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14-
1511
jobs:
1612
build-website:
1713
uses: seedcase-project/.github/.github/workflows/reusable-build-docs-with-python.yml@main
1814
secrets:
1915
netlify-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
16+
# This is to allow using `gh` CLI
17+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)