Add timeouts to our GitHub actions. (#4669)

6 hours is way too long and eats up the runners.
This commit is contained in:
Doug
2025-10-28 18:37:15 +00:00
committed by GitHub
parent ad64315e3c
commit 231185e673
9 changed files with 11 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ jobs:
tests:
name: Tests
runs-on: macos-15
timeout-minutes: 120
concurrency:
# Only allow a single run of this workflow on each branch, automatically cancelling older runs.

View File

@@ -12,6 +12,8 @@ on:
jobs:
automatic-calendar-version:
runs-on: macos-15
timeout-minutes: 15
# Skip in forks
if: github.repository == 'element-hq/element-x-ios'
steps:

View File

@@ -15,6 +15,7 @@ jobs:
tests:
runs-on: macos-15
timeout-minutes: 15
concurrency:
# When running on develop, use the sha to allow all runs of this workflow to run concurrently.

View File

@@ -8,6 +8,7 @@ jobs:
build:
name: Danger
runs-on: macos-15
timeout-minutes: 15
concurrency:
# Only allow a single run of this workflow on each branch, automatically cancelling older runs.

View File

@@ -10,6 +10,7 @@ jobs:
integration_tests:
name: Integration Tests
runs-on: macos-15
timeout-minutes: 45
concurrency:
# Only allow a single run of this workflow on each branch, automatically cancelling older runs.

View File

@@ -8,6 +8,8 @@ on:
jobs:
open-translations-pr:
runs-on: macos-15
timeout-minutes: 15
# Skip in forks
if: github.repository == 'element-hq/element-x-ios'
steps:

View File

@@ -14,6 +14,7 @@ jobs:
tests:
name: Tests
runs-on: macos-15
timeout-minutes: 90
strategy:
fail-fast: false
matrix:

View File

@@ -12,6 +12,7 @@ jobs:
tests:
name: Tests
runs-on: macos-15
timeout-minutes: 60
concurrency:
# Only allow a single run of this workflow on each branch, automatically cancelling older runs.

View File

@@ -12,6 +12,7 @@ jobs:
tests:
name: Tests (Enterprise)
runs-on: macos-15
timeout-minutes: 45
# Skip in forks
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}