mirror of
https://github.com/discourse/discourse.git
synced 2025-01-16 05:32:41 +08:00
DEV: Use github hosted runners for simple workflows (#30576)
Our self hosted runners are limited in quantity so we should preserve them for workflows that actually require the additional resources instead of tying them up on workflows that do not benefit from the additional resources.
This commit is contained in:
parent
9a87baaab4
commit
15a7a84d84
2
.github/workflows/licenses.yml
vendored
2
.github/workflows/licenses.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
if: github.event_name == 'pull_request' || github.repository != 'discourse/discourse-private-mirror'
|
if: github.event_name == 'pull_request' || github.repository != 'discourse/discourse-private-mirror'
|
||||||
name: run
|
name: run
|
||||||
runs-on: ${{ (github.repository != 'discourse/discourse' && 'ubuntu-latest') || 'debian-12' }}
|
runs-on: ubuntu-latest
|
||||||
container: discourse/discourse_test:slim
|
container: discourse/discourse_test:slim
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
|
||||||
|
|
2
.github/workflows/linting.yml
vendored
2
.github/workflows/linting.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
if: github.event_name == 'pull_request' || github.repository != 'discourse/discourse-private-mirror'
|
if: github.event_name == 'pull_request' || github.repository != 'discourse/discourse-private-mirror'
|
||||||
name: run
|
name: run
|
||||||
runs-on: ${{ (github.repository != 'discourse/discourse' && 'ubuntu-latest') || 'debian-12' }}
|
runs-on: ubuntu-latest
|
||||||
container: discourse/discourse_test:slim
|
container: discourse/discourse_test:slim
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
|
|
||||||
|
|
2
.github/workflows/release-notes.yml
vendored
2
.github/workflows/release-notes.yml
vendored
|
@ -20,7 +20,7 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: run
|
name: run
|
||||||
runs-on: ${{ (github.repository != 'discourse/discourse' && 'ubuntu-latest') || 'debian-12' }}
|
runs-on: ubuntu-latest
|
||||||
container: discourse/discourse_test:slim
|
container: discourse/discourse_test:slim
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
env:
|
env:
|
||||||
|
|
2
.github/workflows/stale-pr-closer.yml
vendored
2
.github/workflows/stale-pr-closer.yml
vendored
|
@ -9,7 +9,7 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
runs-on: ${{ (github.repository != 'discourse/discourse' && 'ubuntu-latest') || 'debian-12' }}
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v9
|
- uses: actions/stale@v9
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user