Skip to content

Commit a7ac51e

Browse files
committed
fix workflow
1 parent 64fdd98 commit a7ac51e

4 files changed

Lines changed: 24 additions & 11 deletions

File tree

.gitallowed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ token: ?"?\$\{\{\s*secrets\.GITHUB_TOKEN\s*\}\}"?
44
github-token: ?"?\$\{\{\s*secrets\.GITHUB_TOKEN\s*\}\}"?
55
token: ?"?\$\{\{\s*secrets\.DEPENDABOT_TOKEN\s*\}\}"?
66
\.gitallowed
7+
id-token: "write"

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,16 @@ on:
66
permissions: {}
77
jobs:
88
get_config_values:
9-
uses: NHSDigital/eps-common-workflows/.github/workflows/get-repo-config.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
9+
uses: NHSDigital/eps-common-workflows/.github/workflows/get-repo-config.yml@68c2dea999875055ecbfdf055d8391e6e8b8ce2f
10+
permissions:
11+
attestations: "read"
12+
contents: "read"
13+
packages: "read"
1014
with:
1115
verify_published_from_main_image: false
1216

1317
quality_checks:
14-
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks-devcontainer.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
18+
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks-devcontainer.yml@68c2dea999875055ecbfdf055d8391e6e8b8ce2f
1519
needs: [get_config_values]
1620
with:
1721
pinned_image: ${{ needs.get_config_values.outputs.pinned_image }}
@@ -20,7 +24,7 @@ jobs:
2024

2125
tag_release:
2226
needs: [get_config_values]
23-
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
27+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@68c2dea999875055ecbfdf055d8391e6e8b8ce2f
2428
permissions:
2529
id-token: "write"
2630
contents: "write"

.github/workflows/pull_request.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,34 @@ on:
66
permissions: {}
77
jobs:
88
get_config_values:
9-
uses: NHSDigital/eps-common-workflows/.github/workflows/get-repo-config.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
9+
uses: NHSDigital/eps-common-workflows/.github/workflows/get-repo-config.yml@68c2dea999875055ecbfdf055d8391e6e8b8ce2f
10+
permissions:
11+
attestations: "read"
12+
contents: "read"
13+
packages: "read"
1014
with:
1115
verify_published_from_main_image: false
1216

1317
dependabot-auto-approve-and-merge:
14-
uses: NHSDigital/eps-common-workflows/.github/workflows/dependabot-auto-approve-and-merge.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
18+
uses: NHSDigital/eps-common-workflows/.github/workflows/dependabot-auto-approve-and-merge.yml@68c2dea999875055ecbfdf055d8391e6e8b8ce2f
1519
secrets:
1620
AUTOMERGE_APP_ID: ${{ secrets.AUTOMERGE_APP_ID }}
1721
AUTOMERGE_PEM: ${{ secrets.AUTOMERGE_PEM }}
1822

1923
quality_checks:
20-
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks-devcontainer.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
24+
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks-devcontainer.yml@68c2dea999875055ecbfdf055d8391e6e8b8ce2f
2125
needs: [get_config_values]
2226
with:
2327
pinned_image: ${{ needs.get_config_values.outputs.pinned_image }}
2428
secrets:
2529
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2630

2731
pr_title_format_check:
28-
uses: NHSDigital/eps-common-workflows/.github/workflows/pr_title_check.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
32+
uses: NHSDigital/eps-common-workflows/.github/workflows/pr_title_check.yml@68c2dea999875055ecbfdf055d8391e6e8b8ce2f
2933

3034
tag_release:
3135
needs: [get_config_values]
32-
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
36+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@68c2dea999875055ecbfdf055d8391e6e8b8ce2f
3337
permissions:
3438
id-token: "write"
3539
contents: "write"

.github/workflows/release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ on:
77
permissions: {}
88
jobs:
99
get_config_values:
10-
uses: NHSDigital/eps-common-workflows/.github/workflows/get-repo-config.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
10+
uses: NHSDigital/eps-common-workflows/.github/workflows/get-repo-config.yml@68c2dea999875055ecbfdf055d8391e6e8b8ce2f
11+
permissions:
12+
attestations: "read"
13+
contents: "read"
14+
packages: "read"
1115
with:
1216
verify_published_from_main_image: false
1317

1418
quality_checks:
15-
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks-devcontainer.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
19+
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks-devcontainer.yml@68c2dea999875055ecbfdf055d8391e6e8b8ce2f
1620
needs: [get_config_values]
1721
with:
1822
pinned_image: ${{ needs.get_config_values.outputs.pinned_image }}
@@ -21,7 +25,7 @@ jobs:
2125

2226
tag_release:
2327
needs: [get_config_values]
24-
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
28+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@68c2dea999875055ecbfdf055d8391e6e8b8ce2f
2529
permissions:
2630
id-token: "write"
2731
contents: "write"

0 commit comments

Comments
 (0)