File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -96,13 +96,15 @@ jobs:
9696 env :
9797 APP_CLIENT_ID : ${{ secrets.APP_CLIENT_ID }}
9898 APP_PEM_FILE : ${{ secrets.APP_PEM_FILE }}
99+ PR_NUMBER : ${{ inputs.pr_number }}
100+
99101 shell : bash
100102 run : |
101103 .github/scripts/dispatch_internal_repo_workflow.sh \
102104 --infraRepoName "$(echo ${{ github.repository }} | cut -d'/' -f2)" \
103- --releaseVersion "${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" \
105+ --releaseVersion ${{ github.head_ref || github.ref_name }} \
104106 --targetWorkflow "dispatch-deploy-dynamic-env.yaml" \
105- --targetEnvironment "pr${{ github.event.number } }" \
107+ --targetEnvironment "${env.PR_NUMBER }" \
106108 --targetComponent "api" \
107109 --targetAccountGroup "nhs-notify-supplier-api-dev" \
108110 --terraformAction "apply" \
You can’t perform that action at this time.
0 commit comments