Skip to content

Commit a272738

Browse files
authored
ci: 👷 use GH_TOKEN to use gh cli (#90)
# Description `gh` needs this env variable. No review needed.
1 parent 3b56108 commit a272738

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build-website.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +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+
1115
jobs:
1216
build-website:
1317
uses: seedcase-project/.github/.github/workflows/reusable-build-docs-with-python.yml@main

0 commit comments

Comments
 (0)