Skip to content

Commit 8a60b37

Browse files
committed
[NRL-1922] Move workflow permissions from top-level to job-level
1 parent 27243cf commit 8a60b37

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/daily-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
name: Build NRL Project on Environment
22
run-name: Build NRL Project on ${{ inputs.environment || 'dev' }}
3-
permissions:
4-
id-token: write
5-
contents: read
6-
actions: write
73

84
on:
95
push:
@@ -23,6 +19,10 @@ jobs:
2319
build:
2420
name: Build and test - ${{ github.ref }}
2521
runs-on: codebuild-nhsd-nrlf-ci-build-project-${{ github.run_id }}-${{ github.run_attempt }}
22+
permissions:
23+
contents: read
24+
actions: write
25+
id-token: write
2626

2727
steps:
2828
- name: Git clone - ${{ github.ref }}

0 commit comments

Comments
 (0)