Skip to content

Commit 985e34f

Browse files
authored
chore: restrict GitHub workflow permissions - future-proof (#433)
Signed-off-by: Melissa Kilby <mkilby@apple.com>
1 parent 8306e41 commit 985e34f

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

.github/workflows/62_snapshot_check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Smoke Test - 6.2 Nightly Swift Toolchain
22

3+
permissions:
4+
contents: read
5+
36
on:
47
schedule:
58
- cron: '30 2 * * *'

.github/workflows/build_release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Build Release
22

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_dispatch:
58
inputs:

.github/workflows/nightly_snapshot_check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Smoke Test - Nightly Swift Toolchain
22

3+
permissions:
4+
contents: read
5+
36
on:
47
schedule:
58
- cron: '30 3 * * *'

.github/workflows/pull_request.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Pull Request
22

3+
permissions:
4+
contents: read
5+
36
on:
47
pull_request:
58
types: [opened, reopened, synchronize]

0 commit comments

Comments
 (0)