Skip to content

Commit 0a164de

Browse files
NAID-3322 - Review GitGub Actions NHS Best Practices
* Remove `id-token` write permissions from `build-and-publish-docker-image` job.
1 parent b93c5eb commit 0a164de

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ jobs:
5050
needs: [ generate-build-id ]
5151
permissions:
5252
contents: read
53-
id-token: write
5453
uses: ./.github/workflows/publish.yml
5554
with:
5655
directory: .

.github/workflows/publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
name: Build & Publish Docker Image
2121
runs-on: ubuntu-latest
2222
permissions:
23-
id-token: write
2423
contents: read
2524

2625
steps:

0 commit comments

Comments
 (0)