From e696da74b81a63430431feeb0a6772416b7ecc44 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Sun, 10 Dec 2023 12:49:49 +0800 Subject: [PATCH] add timeouts --- .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 c84dc0a7..fc7ffda0 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