From f0344e8b6bfa282f4a96ba33edf9d25af77bad2a Mon Sep 17 00:00:00 2001 From: Kim Tran Date: Fri, 8 Nov 2024 19:01:21 -0500 Subject: [PATCH 1/2] Add timeout to the test and ruff workflows --- .github/workflows/ruff.yml | 2 ++ .github/workflows/test.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index 06eec77c..723a42ab 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -3,6 +3,8 @@ on: [pull_request] jobs: ruff: runs-on: ubuntu-latest + timeout-minutes: 5 + steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 91933a6f..ca80472c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,6 +41,8 @@ env: jobs: test: runs-on: ubuntu-latest + timeout-minutes: 15 + env: LOG10_URL: "https://log10.io" LOG10_ORG_ID: ${{ secrets.LOG10_ORG_ID }} From 586b16616a7d1081d5944860c230ea9f3508cc21 Mon Sep 17 00:00:00 2001 From: Kim Tran Date: Fri, 8 Nov 2024 19:03:58 -0500 Subject: [PATCH 2/2] Update ruff workflow timeout -> 3 mins --- .github/workflows/ruff.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index 723a42ab..56b09915 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -3,7 +3,7 @@ on: [pull_request] jobs: ruff: runs-on: ubuntu-latest - timeout-minutes: 5 + timeout-minutes: 3 steps: - uses: actions/checkout@v3