Reduce timeout minutes for actions (#39205)

This commit is contained in:
Matt Jankowski 2026-06-04 09:55:21 -04:00 committed by GitHub
parent 2b6b2fcb6f
commit 085c91bf12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 16 additions and 0 deletions

View File

@ -22,6 +22,7 @@ on:
jobs: jobs:
security: security:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15
env: env:
BUNDLE_ONLY: development BUNDLE_ONLY: development

View File

@ -19,6 +19,7 @@ permissions:
jobs: jobs:
check-i18n: check-i18n:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15
steps: steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

View File

@ -12,6 +12,7 @@ jobs:
pathcheck: pathcheck:
name: Check for relevant changes name: Check for relevant changes
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15
outputs: outputs:
changed: ${{ steps.filter.outputs.src }} changed: ${{ steps.filter.outputs.src }}
steps: steps:
@ -38,6 +39,7 @@ jobs:
chromatic: chromatic:
name: Run Chromatic name: Run Chromatic
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15
needs: pathcheck needs: pathcheck
if: github.repository == 'mastodon/mastodon' && needs.pathcheck.outputs.changed == 'true' if: github.repository == 'mastodon/mastodon' && needs.pathcheck.outputs.changed == 'true'
steps: steps:

View File

@ -17,6 +17,7 @@ jobs:
analyze: analyze:
name: Analyze name: Analyze
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15
permissions: permissions:
actions: read actions: read
contents: read contents: read

View File

@ -10,6 +10,7 @@ on:
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15
steps: steps:
- name: Clone repository - name: Clone repository

View File

@ -27,6 +27,7 @@ on:
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15
steps: steps:
- name: Clone repository - name: Clone repository

View File

@ -25,6 +25,7 @@ on:
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15
env: env:
BUNDLE_ONLY: development BUNDLE_ONLY: development

View File

@ -33,6 +33,7 @@ on:
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15
steps: steps:
- name: Clone repository - name: Clone repository

View File

@ -27,6 +27,7 @@ on:
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15
env: env:
BUNDLE_ONLY: development BUNDLE_ONLY: development

View File

@ -31,6 +31,7 @@ on:
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15
steps: steps:
- name: Clone repository - name: Clone repository

View File

@ -25,6 +25,7 @@ on:
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15
strategy: strategy:
fail-fast: false fail-fast: false

View File

@ -19,6 +19,7 @@ concurrency:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15
strategy: strategy:
fail-fast: true fail-fast: true
@ -75,6 +76,7 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 30
needs: needs:
- build - build
@ -176,6 +178,7 @@ jobs:
test-e2e: test-e2e:
name: End to End testing name: End to End testing
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15
needs: needs:
- build - build
@ -279,6 +282,7 @@ jobs:
test-search: test-search:
name: Elastic Search integration testing name: Elastic Search integration testing
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15
needs: needs:
- build - build