From 19aa769d44f88be367cc05ad335a1c2c434b084b Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Sun, 30 Jun 2024 08:39:59 +0900 Subject: [PATCH] ci: set timeout-minutes using ghatm https://github.com/suzuki-shunsuke/batch-bulk-ghatm/issues/1 --- .github/workflows/pull_request.yaml | 1 + .github/workflows/release.yaml | 1 + .github/workflows/watch-star.yaml | 1 + .github/workflows/wc-enable-auto-merge.yaml | 1 + .github/workflows/wc-status-check.yaml | 1 + .github/workflows/wc-test.yaml | 1 + 6 files changed, 6 insertions(+) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index e742106..650b59c 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -5,6 +5,7 @@ permissions: {} jobs: path-filter: # Get changed files to filter jobs + timeout-minutes: 30 outputs: renovate-config-validator: ${{steps.changes.outputs.renovate-config-validator}} runs-on: ubuntu-latest diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 719cce1..7cb4566 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,6 +3,7 @@ on: workflow_dispatch jobs: deploy: + timeout-minutes: 30 runs-on: ubuntu-latest permissions: packages: write # To publish Development Containers Features diff --git a/.github/workflows/watch-star.yaml b/.github/workflows/watch-star.yaml index 247269f..f481f3d 100644 --- a/.github/workflows/watch-star.yaml +++ b/.github/workflows/watch-star.yaml @@ -6,6 +6,7 @@ on: - started jobs: watch-star: + timeout-minutes: 30 runs-on: ubuntu-latest permissions: issues: write diff --git a/.github/workflows/wc-enable-auto-merge.yaml b/.github/workflows/wc-enable-auto-merge.yaml index 2710b70..4c48091 100644 --- a/.github/workflows/wc-enable-auto-merge.yaml +++ b/.github/workflows/wc-enable-auto-merge.yaml @@ -10,6 +10,7 @@ on: jobs: enable-auto-merge: # Enable automerge to merge pull requests from Renovate automatically. + timeout-minutes: 30 runs-on: ubuntu-latest permissions: {} steps: diff --git a/.github/workflows/wc-status-check.yaml b/.github/workflows/wc-status-check.yaml index 73deb3b..4d1b218 100644 --- a/.github/workflows/wc-status-check.yaml +++ b/.github/workflows/wc-status-check.yaml @@ -5,6 +5,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 permissions: {} steps: diff --git a/.github/workflows/wc-test.yaml b/.github/workflows/wc-test.yaml index 8290e59..ad3c551 100644 --- a/.github/workflows/wc-test.yaml +++ b/.github/workflows/wc-test.yaml @@ -2,6 +2,7 @@ name: wc-test on: workflow_call jobs: test: + timeout-minutes: 30 runs-on: ubuntu-latest permissions: {} steps: