From a52ac5de90076da991c5db01c4c5b78dc8ddabd7 Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Thu, 19 Dec 2024 15:48:26 +0900 Subject: [PATCH] chore: set timeout settings to workflows --- .github/workflows/ci.yml | 1 + .github/workflows/lint.yml | 1 + .github/workflows/nightly.yml | 1 + .github/workflows/reports.yml | 1 + .github/workflows/snapshot.yml | 1 + 5 files changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03331660a89..93b3e6d0d29 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,7 @@ on: jobs: test: runs-on: ${{ matrix.os }} + timeout-minutes: 30 strategy: fail-fast: false matrix: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 027be8fe3a0..aedbb8704f2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,6 +13,7 @@ jobs: build: name: Lint runs-on: ubuntu-latest + timeout-minutes: 30 if: github.event.pull_request.draft == false steps: - name: Checkout diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 944d0da0fcc..c799d493e7d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -11,6 +11,7 @@ jobs: publish-github-packages: if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest + timeout-minutes: 30 permissions: packages: write steps: diff --git a/.github/workflows/reports.yml b/.github/workflows/reports.yml index 88edd1c0b69..92281b63644 100644 --- a/.github/workflows/reports.yml +++ b/.github/workflows/reports.yml @@ -15,6 +15,7 @@ permissions: jobs: report: runs-on: ubuntu-latest + timeout-minutes: 30 if: ${{ github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure' }} steps: - name: Create Test Report diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 4d383270736..6aa7d813f61 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -11,6 +11,7 @@ on: jobs: snapshot: runs-on: ubuntu-latest + timeout-minutes: 30 environment: ci strategy: fail-fast: false