Skip to content

Commit 529a258

Browse files
committed
add permissions to jobs
1 parent c83e562 commit 529a258

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: CI
2+
permissions:
3+
contents: read
24

35
on:
46
push:

.github/workflows/publish-events.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
- cron: '0 0 * * *'
66
workflow_dispatch:
77

8+
permissions:
9+
contents: write
10+
repository_dispatch: write
11+
812
jobs:
913
published-daily-events:
1014
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)