Skip to content

Commit 1958dd4

Browse files
committed
chore: restrict GitHub workflow permissions - future-proof
Signed-off-by: Melissa Kilby <mkilby@apple.com>
1 parent 3134ab4 commit 1958dd4

File tree

9 files changed

+27
-0
lines changed

9 files changed

+27
-0
lines changed

.github/workflows/build-esp.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: ["main"]

.github/workflows/build-nuttx.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: ["main"]

.github/workflows/build-rpi-baremetal.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: ["main"]

.github/workflows/build-rpi-pico-sdk.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Raspberry Pi Pico SDK
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: ["main"]

.github/workflows/build-stm32-elf.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: ["main"]

.github/workflows/build-stm32-macho.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: ["main"]

.github/workflows/build-zephyr.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: ["main"]

.github/workflows/lint.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: ["main"]

.github/workflows/update-swift-version.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
schedule:
58
- cron: '0 0 */7 * *' # Every 7 days at midnight UTC

0 commit comments

Comments
 (0)