Selaa lähdekoodia

CI: Add timeouts

Max Hilbrunner 6 kuukautta sitten
vanhempi
commit
2bb21eaf83

+ 1 - 0
.github/workflows/build_offline_docs.yml

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

+ 1 - 0
.github/workflows/cherrypick.yml

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

+ 1 - 0
.github/workflows/ci.yml

@@ -11,6 +11,7 @@ concurrency:
 jobs:
   build:
     runs-on: ubuntu-24.04
+    timeout-minutes: 120
     steps:
       - name: Checkout
         uses: actions/checkout@v4

+ 1 - 0
.github/workflows/sync_class_ref.yml

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