Skip to content

Commit 22e2402

Browse files
committed
use GITHUB_TOKEN within workflow
1 parent 27404ca commit 22e2402

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/table_of_contents.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ jobs:
6969
# Step 7 - Commit and Push generated Table Of Contents files
7070
- name: Commit and Push Changes
7171
if: steps.check_changes.outputs.has_changes == 'true'
72+
env:
73+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7274
run: |
7375
git add table-of-contents-files/*
7476
git commit -m "Autogenerate table of contents files from GitHub action - $(date '+%Y-%m-%d %H:%M:%S')"

0 commit comments

Comments
 (0)