From 8c2475aac14bdcde8a8f923ce31b77c060e64fd0 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Tue, 1 Jul 2025 08:05:42 +0300 Subject: [PATCH] add gh action timouts --- .github/workflows/ci.yml | 5 +++++ .github/workflows/docker.yml | 1 + 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb307922..754d06ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,7 @@ jobs: rubocop: name: Rubocop runs-on: ubuntu-latest + timeout-minutes: 10 steps: - uses: actions/checkout@v4 - name: Install Ruby @@ -30,6 +31,7 @@ jobs: erblint: name: Erblint runs-on: ubuntu-latest + timeout-minutes: 10 steps: - uses: actions/checkout@v4 - name: Install Ruby @@ -54,6 +56,7 @@ jobs: eslint: name: ESLint runs-on: ubuntu-latest + timeout-minutes: 10 steps: - uses: actions/checkout@v4 - name: Install Node.js @@ -80,6 +83,7 @@ jobs: brakeman: name: Brakeman runs-on: ubuntu-latest + timeout-minutes: 10 steps: - uses: actions/checkout@v4 - name: Install Ruby @@ -107,6 +111,7 @@ jobs: rspec: name: RSpec runs-on: ubuntu-latest + timeout-minutes: 10 services: postgres: diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3250e475..8bbd5052 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -8,6 +8,7 @@ on: jobs: build: runs-on: ubuntu-24.04-arm + timeout-minutes: 20 steps: - name: Checkout code