Use configurable runner image in GitHub workflows (#1962)

This commit is contained in:
Adam
2025-08-08 14:53:55 -07:00
committed by GitHub
parent 3e23806f00
commit a5024f95c2
6 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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:

View File

@@ -6,7 +6,7 @@ on:
jobs:
stale:
runs-on: ubuntu-latest
runs-on: ${{ vars.RUNNER_IMAGE || 'ubuntu-latest' }}
permissions:
issues: write
contents: read

View File

@@ -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:

View File

@@ -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

View File

@@ -11,7 +11,7 @@ permissions:
jobs:
sync-branches:
runs-on: ubuntu-latest
runs-on: ${{ vars.RUNNER_IMAGE || 'ubuntu-latest' }}
name: Syncing branches
steps: