Skip to content

Commit 3290223

Browse files
committed
Fix mirror workflow push permission denied
Add contents: write permission to the workflow so the GITHUB_TOKEN can push commits, tags, and create releases.
1 parent e18c7ac commit 3290223

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
schedule:
88
- cron: "30 8 * * *"
99

10+
permissions:
11+
contents: write
12+
1013
jobs:
1114
build:
1215
name: Mirror

0 commit comments

Comments
 (0)