Skip to content

Commit 48ad480

Browse files
committed
ci: add missing permissions to release workflow
1 parent 9219e85 commit 48ad480

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/nightly.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
name: Nightly Build
22

3-
permissions:
4-
actions: read
5-
contents: read
6-
security-events: write
7-
83
on:
94
workflow_dispatch:
105
inputs:
@@ -14,6 +9,11 @@ on:
149
schedule:
1510
- cron: "0 3 * * *" # run at 03:00 UTC
1611

12+
permissions:
13+
actions: read
14+
contents: read
15+
security-events: write
16+
1717
jobs:
1818

1919
Run-Tests:

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Release
33
on:
44
workflow_dispatch:
55

6+
permissions:
7+
actions: read
8+
contents: write
9+
security-events: write
610

711
jobs:
812

0 commit comments

Comments
 (0)