@@ -2,11 +2,11 @@ name: pull_request
22
33on :
44 pull_request :
5- branches : [main]
5+ branches : [ main ]
66permissions : {}
77jobs :
88 get_config_values :
9- uses : NHSDigital/eps-common-workflows/.github/workflows/get-repo-config.yml@e798d5aee897de6f7dc387dd5623fcd9ba4c8929
9+ uses : NHSDigital/eps-common-workflows/.github/workflows/get-repo-config.yml@8b259f4f2d2b8ff1345fb0d2f9b9f0fbb9d19845
1010 permissions :
1111 attestations : " read"
1212 contents : " read"
1515 verify_published_from_main_image : false
1616
1717 dependabot-auto-approve-and-merge :
18- uses : NHSDigital/eps-common-workflows/.github/workflows/dependabot-auto-approve-and-merge.yml@e798d5aee897de6f7dc387dd5623fcd9ba4c8929
18+ uses : NHSDigital/eps-common-workflows/.github/workflows/dependabot-auto-approve-and-merge.yml@8b259f4f2d2b8ff1345fb0d2f9b9f0fbb9d19845
1919 permissions :
2020 contents : " write"
2121 pull-requests : " write"
@@ -24,26 +24,29 @@ jobs:
2424 AUTOMERGE_PEM : ${{ secrets.AUTOMERGE_PEM }}
2525
2626 quality_checks :
27- uses : NHSDigital/eps-common-workflows/.github/workflows/quality-checks-devcontainer.yml@8399c1f015c1304e40771cbd8ccc24c7ed48fdbc
28- needs : [get_config_values]
27+ uses : NHSDigital/eps-common-workflows/.github/workflows/quality-checks-devcontainer.yml@8b259f4f2d2b8ff1345fb0d2f9b9f0fbb9d19845
28+ needs : [ get_config_values ]
2929 permissions :
3030 contents : " read"
31+ packages : " read"
32+ id-token : " write"
3133 with :
3234 pinned_image : ${{ needs.get_config_values.outputs.pinned_image }}
3335 secrets :
3436 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
3537
3638 pr_title_format_check :
37- uses : NHSDigital/eps-common-workflows/.github/workflows/pr_title_check.yml@e798d5aee897de6f7dc387dd5623fcd9ba4c8929
39+ uses : NHSDigital/eps-common-workflows/.github/workflows/pr_title_check.yml@8b259f4f2d2b8ff1345fb0d2f9b9f0fbb9d19845
3840 permissions :
3941 pull-requests : " write"
4042
4143 tag_release :
42- needs : [get_config_values]
43- uses : NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@68c2dea999875055ecbfdf055d8391e6e8b8ce2f
44+ needs : [ get_config_values ]
45+ uses : NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@8b259f4f2d2b8ff1345fb0d2f9b9f0fbb9d19845
4446 permissions :
4547 id-token : " write"
4648 contents : " write"
49+ packages : " write"
4750 with :
4851 dry_run : true
4952 pinned_image : ${{ needs.get_config_values.outputs.pinned_image }}
0 commit comments