Skip to content

Commit

Permalink
Add 30 minute timeouts to GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Nov 24, 2023
1 parent 54a197a commit 7afdd1f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-and-push-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
if: ${{ github.event.ref_type == 'tag' || github.event.inputs.dispatchConfirmation == 'Workflow dispatch confirmed' }}
name: Build and push Docker image
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
packages: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
name: '${{ matrix.os }}: Build, lint, test'

runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/package-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on: [pull_request]
jobs:
size:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
CI_JOB_NUMBER: 1
steps:
Expand Down

0 comments on commit 7afdd1f

Please sign in to comment.