Skip to content

Commit c8f899f

Browse files
authored
Chore: [AEA-6527] - fix actionlint error by replacing alias step entries with explicit step mappings (#127)
## Summary - 🤖 Operational or Infrastructure Change ### Details - fix permissions to publish packages
1 parent f747b66 commit c8f899f

File tree

5 files changed

+8
-2
lines changed

5 files changed

+8
-2
lines changed

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ jobs:
4949
needs: get_config_values
5050
uses: ./.github/workflows/tag-release-devcontainer.yml
5151
permissions:
52-
packages: read
5352
id-token: write
5453
contents: write
54+
packages: write
5555
with:
5656
dry_run: true
5757
pinned_image: ${{ needs.get_config_values.outputs.pinned_image }}

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
permissions:
3333
id-token: write
3434
contents: write
35+
packages: write
3536
with:
3637
dry_run: false
3738
pinned_image: ${{ needs.get_config_values.outputs.pinned_image }}

.github/workflows/tag-release-devcontainer.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ jobs:
8686
permissions:
8787
id-token: "write"
8888
contents: "write"
89+
packages: "write"
8990
runs-on: ubuntu-22.04
9091
container:
9192
image: ${{ inputs.pinned_image }}

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,10 @@ jobs:
174174
tag_release:
175175
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@f5c8313a10855d0cc911db6a9cd666494c00045a
176176
needs: [get_config_values]
177+
permissions:
178+
id-token: write
179+
contents: write
180+
packages: write
177181
with:
178182
tag_format: "v\\${version}-beta"
179183
dry_run: true

zizmor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ rules:
1414
artipacked:
1515
ignore:
1616
# this is ignored as its based on using an input to the workflow
17-
- tag-release-devcontainer.yml:114:15
17+
- tag-release-devcontainer.yml:115:15

0 commit comments

Comments
 (0)