From 4de14bb8ff3d9abe6ecdddf2fd959391ea6ef4f3 Mon Sep 17 00:00:00 2001 From: Anthony Brown <121869075+anthony-nhs@users.noreply.github.com> Date: Fri, 10 Jan 2025 17:12:20 +0000 Subject: [PATCH] pin ubuntu used by github runners --- .github/workflows/ci.yml | 2 +- .github/workflows/combine_dependabot_prs.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/release.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be494c0..d137672 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: tag_release: needs: quality_checks - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/combine_dependabot_prs.yml b/.github/workflows/combine_dependabot_prs.yml index 284ede2..0b3cbf5 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/dependabot_auto_approve_and_merge.yml b/.github/workflows/dependabot_auto_approve_and_merge.yml index 78fe624..321dbe2 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 1bd4340..008bdd1 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 f25eac7..ff04d37 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/release.yml b/.github/workflows/release.yml index b7f9b4d..a83baaf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: release: needs: quality_checks - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v4