mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 19:29:06 +00:00
CI: Add timeouts
This commit is contained in:
@@ -12,6 +12,7 @@ jobs:
|
||||
# Manual runs can still be triggered as normal.
|
||||
if: ${{ github.repository_owner == 'godotengine' || github.event_name != 'schedule' || vars.CI_OFFLINE_DOCS_CRON == 'true' }}
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 180
|
||||
strategy:
|
||||
matrix:
|
||||
branch:
|
||||
|
||||
@@ -19,6 +19,7 @@ jobs:
|
||||
# The cherrypick label is hardcoded because `contains()` doesn't seem to be able to use an environment variable as a second argument.
|
||||
if: ${{ github.event.pull_request.merged == true && contains( github.event.pull_request.labels.*.name, 'cherrypick:4.3' ) }}
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
# "Ternary" hack featured in the official docs.
|
||||
# When using "Squash and merge", the commit hash is the last merge commit of the pull request merge branch.
|
||||
|
||||
@@ -11,6 +11,7 @@ concurrency:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 120
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -21,6 +21,7 @@ jobs:
|
||||
if: ${{ github.repository_owner == 'godotengine' || github.event_name != 'schedule' || vars.CI_SYNC_CLASS_REF_CRON == 'true' }}
|
||||
name: Update class reference files based on the engine revision
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
engine_rev: 'master'
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user