From 0b77a7766a2061816e9f894a9fc78ef68326c22d Mon Sep 17 00:00:00 2001 From: Noelle Wang <73260931+No767@users.noreply.github.com> Date: Mon, 11 Nov 2024 23:11:48 -0800 Subject: [PATCH] Migrate workflows to Ubuntu 24.04 labels (#231) --- .github/workflows/auto-approve.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/dependabot-auto-merge.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index e68f357..d6d86e8 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -4,7 +4,7 @@ on: pull_request_target jobs: auto-approve: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: pull-requests: write if: github.actor == 'dependabot[bot]' diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 07a56cb..6178bae 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -14,7 +14,7 @@ on: jobs: Analyze: name: Analyze - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: actions: read contents: read diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 3903163..4734b92 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -15,7 +15,7 @@ permissions: jobs: dependabot: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: ${{ github.actor == 'dependabot[bot]'}} steps: - name: Dependabot metadata diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a92eefe..9626fa0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,7 +10,7 @@ on: jobs: Analyze: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: fail-fast: false diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f5486fe..b50724e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,7 @@ on: - main jobs: Release: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: contains(github.event.head_commit.message, '#major') || contains(github.event.head_commit.message, '#minor') || contains(github.event.head_commit.message, '#patch') steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5ed2183..82a2e0d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ env: jobs: Test: name: Test (${{ matrix.version }}) - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 services: postgres: