Skip to content

Commit c907ff6

Browse files
committed
FPAD-7615: Add package permissions to github workflows
1 parent b880414 commit c907ff6

5 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/acceptance-checks.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name: 'Build & Test'
33
permissions:
44
contents: read
5+
packages: read
56

67
# Triggered when:
78
# - a file, listed below, is pushed to any branch other than `main`, i.e. a feature branch.

.github/workflows/manual-publish-main-to-dev.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on:
2020
permissions:
2121
id-token: write
2222
contents: read
23+
packages: read
2324

2425
jobs:
2526
validate_deployment:

.github/workflows/merge-main-to-main.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
permissions:
1919
id-token: write
2020
contents: read
21+
packages: read
2122

2223
jobs:
2324
validate_deployment:

.github/workflows/pact-test-api-provider.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ on:
4545

4646
permissions:
4747
contents: read
48+
packages: read
4849

4950
jobs:
5051
contract-testing:

.github/workflows/pact-test-message-consumer.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ on:
4444

4545
permissions:
4646
contents: read
47+
packages: read
4748

4849
jobs:
4950
contract-testing:

0 commit comments

Comments
 (0)