Skip to content

Commit a0514c9

Browse files
committed
ci: limit the scope of the github token
1 parent a3efc46 commit a0514c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ jobs:
1010
Lint:
1111
if: "!contains(github.event.head_commit.message, '[skip ci]')"
1212
runs-on: ubuntu-latest
13-
env:
14-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1513
steps:
1614
- uses: actions/checkout@v3
1715
with:
@@ -66,3 +64,5 @@ jobs:
6664
with:
6765
branch: gh-pages # The branch the action should deploy to.
6866
folder: _site # The folder the action should deploy.
67+
env:
68+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)