We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdfb57b commit 0e86ed5Copy full SHA for 0e86ed5
1 file changed
.github/workflows/stage-4-acceptance.yaml
@@ -84,20 +84,11 @@ jobs:
84
steps:
85
- uses: actions/checkout@v5.0.0
86
87
- - name: "Set environment"
88
- shell: bash
89
- run: |
90
- if [ "${{ inputs.pr_number }}" != "" ]; then
91
- echo "ENVIRONMENT=pr${{ inputs.pr_number }}" >> $GITHUB_ENV
92
- else
93
- echo "ENVIRONMENT=main" >> $GITHUB_ENV
94
- fi
95
-
96
- name: "Run e2e tests"
97
uses: ./.github/actions/e2e-tests
98
env:
99
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
100
NON_PROD_API_KEY: ${{ secrets.NON_PROD_API_KEY }}
101
INTERNAL_DEV_TEST_PEM: ${{ secrets.INTERNAL_DEV_TEST_PEM }}
102
with:
103
- targetEnvironment: ${{ env.ENVIRONMENT }}
+ pr_number: ${{ inputs.pr_number }}
0 commit comments