Fix: [AEA-0000] - corrects logic that adds stack suffix to epsam stack name #1631
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pull Request | |
| on: | |
| pull_request: | |
| branches: [main] | |
| env: | |
| BRANCH_NAME: ${{ github.event.pull_request.head.ref }} | |
| jobs: | |
| dependabot-auto-approve-and-merge: | |
| needs: quality_checks | |
| uses: NHSDigital/eps-common-workflows/.github/workflows/dependabot-auto-approve-and-merge.yml@4fb41faab9c92d8a1444719bc1ab45a989caf756 | |
| secrets: | |
| AUTOMERGE_APP_ID: ${{ secrets.AUTOMERGE_APP_ID }} | |
| AUTOMERGE_PEM: ${{ secrets.AUTOMERGE_PEM }} | |
| get_asdf_version: | |
| runs-on: ubuntu-22.04 | |
| outputs: | |
| asdf_version: ${{ steps.asdf-version.outputs.version }} | |
| tag_format: ${{ steps.load-config.outputs.TAG_FORMAT }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 | |
| - name: Get asdf version | |
| id: asdf-version | |
| run: echo "version=$(awk '!/^#/ && NF {print $1; exit}' .tool-versions.asdf)" >> "$GITHUB_OUTPUT" | |
| - name: Load config value | |
| id: load-config | |
| run: | | |
| TAG_FORMAT=$(yq '.TAG_FORMAT' .github/config/settings.yml) | |
| echo "TAG_FORMAT=$TAG_FORMAT" >> "$GITHUB_OUTPUT" | |
| quality_checks: | |
| uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks.yml@cf765bb1264f0f44fba00516bd0412ac792d37c9 | |
| needs: [get_asdf_version] | |
| with: | |
| asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }} | |
| reinstall_poetry: true | |
| secrets: | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
| pr_title_format_check: | |
| uses: NHSDigital/eps-common-workflows/.github/workflows/pr_title_check.yml@ba86b0c6a2a3d4b87398e538e410cec90f57133d | |
| run_basic_regression_test: | |
| uses: ./.github/workflows/regression_tests.yml | |
| with: | |
| tags: "@ping" | |
| environment: INTERNAL-DEV | |
| product: EPS-FHIR | |
| id: "Pull Request Basic Regression Tests" | |
| tag_release: | |
| needs: [get_asdf_version] | |
| uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@4fb41faab9c92d8a1444719bc1ab45a989caf756 | |
| with: | |
| dry_run: true | |
| asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }} | |
| branch_name: ${{ github.event.pull_request.head.ref }} | |
| publish_package: false | |
| tag_format: ${{ needs.get_asdf_version.outputs.tag_format }} | |
| secrets: inherit |