Skip to content

Commit e910a76

Browse files
committed
Reduce actions workflow permissions
1 parent 2d24ebb commit e910a76

File tree

4 files changed

+12
-21
lines changed

4 files changed

+12
-21
lines changed

.github/workflows/deploy-prod.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99

1010
jobs:
1111
test:
12+
permissions:
13+
contents: read
1214
runs-on: ubuntu-latest
1315
timeout-minutes: 15
1416
name: Run Unit Tests
@@ -40,6 +42,8 @@ jobs:
4042
run: make test_unit
4143

4244
build:
45+
permissions:
46+
contents: read
4347
runs-on: ubuntu-24.04-arm
4448
timeout-minutes: 15
4549
name: Build Application

.github/workflows/deploy-qa.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212

1313
jobs:
1414
test:
15+
permissions:
16+
contents: read
1517
runs-on: ubuntu-latest
1618
timeout-minutes: 15
1719
name: Run Unit Tests
@@ -44,6 +46,8 @@ jobs:
4446
run: make test_unit
4547

4648
build:
49+
permissions:
50+
contents: read
4751
runs-on: ubuntu-24.04-arm
4852
timeout-minutes: 15
4953
name: Build Application

.github/workflows/manual-prod.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111

1212
jobs:
1313
test:
14+
permissions:
15+
contents: read
1416
runs-on: ubuntu-latest
1517
timeout-minutes: 15
1618
name: Run Unit Tests
@@ -42,6 +44,8 @@ jobs:
4244
run: make test_unit
4345

4446
build:
47+
permissions:
48+
contents: read
4549
runs-on: ubuntu-24.04-arm
4650
timeout-minutes: 15
4751
name: Build Application

.github/workflows/test.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)