We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a55f8f9 commit a108782Copy full SHA for a108782
1 file changed
.github/workflows/stage-3-build.yaml
@@ -96,13 +96,15 @@ jobs:
96
env:
97
APP_CLIENT_ID: ${{ secrets.APP_CLIENT_ID }}
98
APP_PEM_FILE: ${{ secrets.APP_PEM_FILE }}
99
+ PR_NUMBER: ${{ inputs.pr_number }}
100
+
101
shell: bash
102
run: |
103
.github/scripts/dispatch_internal_repo_workflow.sh \
104
--infraRepoName "$(echo ${{ github.repository }} | cut -d'/' -f2)" \
- --releaseVersion "${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" \
105
+ --releaseVersion ${{ github.head_ref || github.ref_name }} \
106
--targetWorkflow "dispatch-deploy-dynamic-env.yaml" \
- --targetEnvironment "pr${{ github.event.number }}" \
107
+ --targetEnvironment "${env.PR_NUMBER}" \
108
--targetComponent "api" \
109
--targetAccountGroup "nhs-notify-supplier-api-dev" \
110
--terraformAction "apply" \
0 commit comments