Skip to content

Commit bfdbbfc

Browse files
committed
build: explicit permissions
Signed-off-by: Adam Setch <[email protected]>
1 parent 5a98a98 commit bfdbbfc

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- main
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
prepare: # macOS code-signing only works on `push` events and not `pull_request` events
1316
if: ${{ !startsWith(github.head_ref, 'release/v') }}

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- release/v*.*.* # macOS code-signing only works on `push` events and not `pull_request` events
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
lint:
1013
name: Lint App

0 commit comments

Comments
 (0)