From a5024f95c22d80e703aef53434f12f10f26202b4 Mon Sep 17 00:00:00 2001 From: Adam <13007539+MrgSub@users.noreply.github.com> Date: Fri, 8 Aug 2025 14:53:55 -0700 Subject: [PATCH] Use configurable runner image in GitHub workflows (#1962) --- .github/workflows/ci.yml | 2 +- .github/workflows/close-conflicted-prs.yml | 4 ++-- .github/workflows/close-stale-issues.yml | 2 +- .github/workflows/deploy-to-prod-command.yml | 2 +- .github/workflows/lingo-dev.yml | 2 +- .github/workflows/sync-production.yml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 952f3a460..b9ba5511c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ concurrency: jobs: autofix: timeout-minutes: 10 - runs-on: ubuntu-latest + runs-on: ${{ vars.RUNNER_IMAGE || 'ubuntu-latest' }} steps: - name: Checkout Code 🛎 uses: actions/checkout@v4 diff --git a/.github/workflows/close-conflicted-prs.yml b/.github/workflows/close-conflicted-prs.yml index d6ed5de66..5b22ec879 100644 --- a/.github/workflows/close-conflicted-prs.yml +++ b/.github/workflows/close-conflicted-prs.yml @@ -2,11 +2,11 @@ name: Close Old Conflicted PRs on: schedule: - - cron: "0 0 * * *" + - cron: '0 0 * * *' jobs: close_conflicted_prs: - runs-on: ubuntu-latest + runs-on: ${{ vars.RUNNER_IMAGE || 'ubuntu-latest' }} permissions: pull-requests: write steps: diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml index a6fcd3975..2a72ec2c4 100644 --- a/.github/workflows/close-stale-issues.yml +++ b/.github/workflows/close-stale-issues.yml @@ -6,7 +6,7 @@ on: jobs: stale: - runs-on: ubuntu-latest + runs-on: ${{ vars.RUNNER_IMAGE || 'ubuntu-latest' }} permissions: issues: write contents: read diff --git a/.github/workflows/deploy-to-prod-command.yml b/.github/workflows/deploy-to-prod-command.yml index 10d63b788..d29c757ba 100644 --- a/.github/workflows/deploy-to-prod-command.yml +++ b/.github/workflows/deploy-to-prod-command.yml @@ -11,7 +11,7 @@ permissions: jobs: deploy-to-production: - runs-on: ubuntu-latest + runs-on: ${{ vars.RUNNER_IMAGE || 'ubuntu-latest' }} name: Merge Staging to Production if: github.event.issue.pull_request && contains(github.event.issue.labels.*.name, 'production-deploy') && startsWith(github.event.comment.body, '/deploy') && github.event.comment.author_association == 'MEMBER' steps: diff --git a/.github/workflows/lingo-dev.yml b/.github/workflows/lingo-dev.yml index 18c549034..74aa2944e 100644 --- a/.github/workflows/lingo-dev.yml +++ b/.github/workflows/lingo-dev.yml @@ -22,7 +22,7 @@ concurrency: jobs: main: timeout-minutes: 15 - runs-on: ubuntu-latest + runs-on: ${{ vars.RUNNER_IMAGE || 'ubuntu-latest' }} steps: - name: Checkout Code 🛎 uses: actions/checkout@v4 diff --git a/.github/workflows/sync-production.yml b/.github/workflows/sync-production.yml index ff4694c53..9f3f349be 100644 --- a/.github/workflows/sync-production.yml +++ b/.github/workflows/sync-production.yml @@ -11,7 +11,7 @@ permissions: jobs: sync-branches: - runs-on: ubuntu-latest + runs-on: ${{ vars.RUNNER_IMAGE || 'ubuntu-latest' }} name: Syncing branches steps: