Skip to content

Commit f578741

Browse files
committed
chore: restrict GitHub workflow permissions - future-proof
Signed-off-by: Melissa Kilby <mkilby@apple.com>
1 parent 33f5dae commit f578741

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
name: test
2+
3+
permissions:
4+
contents: read
5+
26
concurrency:
37
group: ${{ github.workflow }}-${{ github.ref }}
48
cancel-in-progress: true
9+
510
on:
611
pull_request: { types: [opened, reopened, synchronize, ready_for_review] }
712
push: { branches: [ main ] }

0 commit comments

Comments
 (0)