Skip to content

Commit 5371748

Browse files
authored
Set permissions back, set branch to push to as generate_table_of_contents
1 parent dbf34ba commit 5371748

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/table_of_contents.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ on:
1515
- reopened
1616
- opened
1717

18-
permissions: write-all
18+
permissions:
19+
contents: write
1920

2021
jobs:
2122
generate_toc_formats:
@@ -71,4 +72,5 @@ jobs:
7172
with:
7273
commit_message: "Autogenerate table of contents files from GitHub action - $(date '+%Y-%m-%d %H:%M:%S')"
7374
file_pattern: 'table-of-contents-files/*'
75+
branch: generate_table_of_contents
7476
create_branch: true

0 commit comments

Comments
 (0)