From b1f611099c5fc085f1ab20a3512252d2b562725e Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Sun, 10 Dec 2023 12:49:49 +0800 Subject: [PATCH] add timeouts (cherry picked from commit e696da74b81a63430431feeb0a6772416b7ecc44) --- .github/workflows/build.yml | 1 + .github/workflows/pr.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8e6267c0..5b6a2b7d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,6 +12,7 @@ on: jobs: release: runs-on: ${{ matrix.os }} + timeout-minutes: 60 env: is_tag: ${{ startsWith(github.ref, 'refs/tags/v') }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ba67135e..f92a7fb7 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -5,6 +5,7 @@ on: [push, pull_request] jobs: test: runs-on: ubuntu-latest + timeout-minutes: 60 steps: - uses: actions/checkout@v2