Skip to content

Commit

Permalink
ci: set timeout-minutes using ghatm
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Jun 29, 2024
1 parent 5476513 commit d36c649
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@ jobs:

actionlint_fork:
# Lint GitHub Actions Workflows by actionlint.
timeout-minutes: 30
if: github.event.pull_request.head.repo.fork
runs-on: ubuntu-latest
permissions: {}
5 changes: 5 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@ permissions: {}
jobs:
path-filter:
# Get changed files to filter jobs
timeout-minutes: 30
outputs:
update-aqua-checksums: ${{steps.changes.outputs.update-aqua-checksums}}
renovate-config-validator: ${{steps.changes.outputs.renovate-config-validator}}
@@ -30,6 +31,7 @@ jobs:
ghalint:
# Validate GitHub Actions Workflows by ghalint.
timeout-minutes: 30
needs: path-filter
if: needs.path-filter.outputs.ghalint == 'true'
runs-on: ubuntu-latest
@@ -70,6 +72,7 @@ jobs:

enable-automerge:
# Enable automerge to merge pull requests from Renovate automatically.
timeout-minutes: 30
runs-on: ubuntu-latest
needs:
- status-check
@@ -91,6 +94,7 @@ jobs:
status-check:
# This job is used for main branch's branch protection rule's status check.
# If all dependent jobs succeed or are skipped this job succeeds.
timeout-minutes: 30
runs-on: ubuntu-latest
needs:
- update-aqua-checksums
@@ -112,6 +116,7 @@ jobs:
contents: read

prettier:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

0 comments on commit d36c649

Please sign in to comment.