File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 env :
2424 GITHUB_TOKEN : ${{ env.GITHUB_TOKEN }}
2525 run : |
26- # Extract PR number from environment name (e.g., pr123 -> 123)
26+ # Extract PR number from environment name
2727 if [[ "${{ inputs.targetEnvironment }}" =~ ^pr([0-9]+)$ ]]; then
2828 pr_number="${BASH_REMATCH[1]}"
2929 labels=$(gh pr view "$pr_number" --json labels --jq '.labels[].name' 2>/dev/null || echo "")
5151 if : steps.check_e2e.outputs.run_e2e == 'true'
5252 shell : bash
5353 run : |
54- echo "$APP_PEM_FILE " > "${GITHUB_WORKSPACE}/internal-dev-test-1.pem"
54+ echo "$INTERNAL_DEV_TEST_PEM " > "${GITHUB_WORKSPACE}/internal-dev-test-1.pem"
5555 chmod 600 "${GITHUB_WORKSPACE}/internal-dev-test-1.pem"
5656 export PROXY_NAME=nhs-notify-supplier--internal-dev--nhs-notify-supplier
5757 export API_ENVIRONMENT=internal-dev
Original file line number Diff line number Diff line change 9696 - name : " Run e2e tests"
9797 uses : ./.github/actions/e2e-tests
9898 env :
99- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
10099 NON_PROD_API_KEY : ${{ secrets.NON_PROD_API_KEY }}
101- APP_PEM_FILE : ${{ secrets.APP_PEM_FILE }}
100+ INTERNAL_DEV_TEST_PEM : ${{ secrets.INTERNAL_DEV_TEST_PEM }}
102101 with :
103102 targetEnvironment : ${{ env.ENVIRONMENT }}
You can’t perform that action at this time.
0 commit comments