From ffb44e0e16dfffab071aeb903a1df93ecc9afbe4 Mon Sep 17 00:00:00 2001 From: anthony-nhs <121869075+anthony-nhs@users.noreply.github.com> Date: Fri, 10 Jan 2025 17:07:47 +0000 Subject: [PATCH] Fix: [AEA-0000] - pin ubuntu used by github runner (#1579) ## Summary - Routine Change ### Details - pin ubuntu used by gihub runner --- .github/workflows/ci.yml | 4 ++-- .github/workflows/combine-dependabot-prs.yml | 2 +- .github/workflows/delete_old_cloudformation_stacks.yml | 2 +- .github/workflows/dependabot_auto_approve_and_merge.yml | 2 +- .github/workflows/pr-link.yml | 2 +- .github/workflows/pr_title_check.yml | 2 +- .github/workflows/pull_request.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- .github/workflows/run_regression_tests.yml | 2 +- .github/workflows/sam_package_code.yml | 2 +- .github/workflows/sam_release_code.yml | 2 +- 11 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 704da1941..64cad9c6a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} get_commit_id: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: commit_id: ${{ steps.commit_id.outputs.commit_id }} steps: @@ -25,7 +25,7 @@ jobs: tag_release: needs: quality_checks - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: version_tag: ${{steps.output_version_tag.outputs.VERSION_TAG}} steps: diff --git a/.github/workflows/combine-dependabot-prs.yml b/.github/workflows/combine-dependabot-prs.yml index b14f445ad..c282e88d9 100644 --- a/.github/workflows/combine-dependabot-prs.yml +++ b/.github/workflows/combine-dependabot-prs.yml @@ -26,7 +26,7 @@ jobs: # This workflow contains a single job called "combine-prs" combine-prs: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 # Steps represent a sequence of tasks that will be executed as part of the job steps: diff --git a/.github/workflows/delete_old_cloudformation_stacks.yml b/.github/workflows/delete_old_cloudformation_stacks.yml index 7f6630e2c..af5f73776 100644 --- a/.github/workflows/delete_old_cloudformation_stacks.yml +++ b/.github/workflows/delete_old_cloudformation_stacks.yml @@ -11,7 +11,7 @@ jobs: # This workflow contains a single job called "combine-prs" delete-old-cloudformation-stacks: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: id-token: write contents: read diff --git a/.github/workflows/dependabot_auto_approve_and_merge.yml b/.github/workflows/dependabot_auto_approve_and_merge.yml index 6fc4f2702..09ec27e85 100644 --- a/.github/workflows/dependabot_auto_approve_and_merge.yml +++ b/.github/workflows/dependabot_auto_approve_and_merge.yml @@ -7,7 +7,7 @@ permissions: jobs: dependabot: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: ${{ github.actor == 'dependabot[bot]' }} steps: - name: Get token from Github App diff --git a/.github/workflows/pr-link.yml b/.github/workflows/pr-link.yml index 51432f890..c8192cc62 100644 --- a/.github/workflows/pr-link.yml +++ b/.github/workflows/pr-link.yml @@ -4,7 +4,7 @@ on: types: [opened] jobs: link-ticket: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 env: REF: ${{ github.event.pull_request.head.ref }} steps: diff --git a/.github/workflows/pr_title_check.yml b/.github/workflows/pr_title_check.yml index 582b0e683..2da6adac5 100644 --- a/.github/workflows/pr_title_check.yml +++ b/.github/workflows/pr_title_check.yml @@ -5,7 +5,7 @@ on: jobs: pr_title_format_check: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check PR Title is Prefixed with Change Type env: diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 1a10bc8a5..ff692da6f 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -17,7 +17,7 @@ jobs: uses: ./.github/workflows/pr_title_check.yml get_issue_number: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: quality_checks outputs: issue_number: ${{steps.get_issue_number.outputs.result}} @@ -44,7 +44,7 @@ jobs: result-encoding: string get_commit_id: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: commit_id: ${{ steps.commit_id.outputs.commit_id }} steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 285d9cb63..4fe1832fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} get_commit_id: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: commit_id: ${{ steps.commit_id.outputs.commit_id }} steps: @@ -21,7 +21,7 @@ jobs: tag_release: needs: quality_checks - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: version_tag: ${{steps.output_version_tag.outputs.VERSION_TAG}} steps: diff --git a/.github/workflows/run_regression_tests.yml b/.github/workflows/run_regression_tests.yml index 1cb25e532..9ab172ff8 100644 --- a/.github/workflows/run_regression_tests.yml +++ b/.github/workflows/run_regression_tests.yml @@ -18,7 +18,7 @@ on: jobs: run_regression_tests: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 environment: ${{ inputs.ENVIRONMENT }} permissions: id-token: write diff --git a/.github/workflows/sam_package_code.yml b/.github/workflows/sam_package_code.yml index 5650b0aaf..1cc7f12a5 100644 --- a/.github/workflows/sam_package_code.yml +++ b/.github/workflows/sam_package_code.yml @@ -5,7 +5,7 @@ on: jobs: sam_package_code: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: id-token: write contents: read diff --git a/.github/workflows/sam_release_code.yml b/.github/workflows/sam_release_code.yml index 4e6f3ae9c..1cf9966eb 100644 --- a/.github/workflows/sam_release_code.yml +++ b/.github/workflows/sam_release_code.yml @@ -80,7 +80,7 @@ on: jobs: sam_release_code: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 environment: ${{ inputs.TARGET_ENVIRONMENT }} permissions: id-token: write