Skip to content

Commit 88f0521

Browse files
committed
Add CI permissions to push to the repository
1 parent 1ef74d9 commit 88f0521

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ on:
1212
schedule:
1313
- cron: '44 4 * * *' # At 4:44 UTC every day.
1414

15-
permissions:
16-
contents: read
17-
pull-requests: write
18-
1915
defaults:
2016
run:
2117
shell: bash
@@ -91,6 +87,9 @@ jobs:
9187
cron-fail-notify:
9288
name: cronjob failure notification
9389
runs-on: ubuntu-latest
90+
permissions:
91+
contents: read
92+
pull-requests: write
9493
needs: [build, style]
9594
if: github.event_name == 'schedule' && failure()
9695
steps:

0 commit comments

Comments
 (0)