mirror of
https://github.com/Mail-0/Zero.git
synced 2026-06-28 06:46:15 +00:00
Use configurable runner image in GitHub workflows (#1962)
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
4
.github/workflows/close-conflicted-prs.yml
vendored
4
.github/workflows/close-conflicted-prs.yml
vendored
@@ -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:
|
||||
|
||||
2
.github/workflows/close-stale-issues.yml
vendored
2
.github/workflows/close-stale-issues.yml
vendored
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ vars.RUNNER_IMAGE || 'ubuntu-latest' }}
|
||||
permissions:
|
||||
issues: write
|
||||
contents: read
|
||||
|
||||
2
.github/workflows/deploy-to-prod-command.yml
vendored
2
.github/workflows/deploy-to-prod-command.yml
vendored
@@ -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:
|
||||
|
||||
2
.github/workflows/lingo-dev.yml
vendored
2
.github/workflows/lingo-dev.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/sync-production.yml
vendored
2
.github/workflows/sync-production.yml
vendored
@@ -11,7 +11,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
sync-branches:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ vars.RUNNER_IMAGE || 'ubuntu-latest' }}
|
||||
name: Syncing branches
|
||||
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user