Skip to content

Commit

Permalink
Set a timeout for our actions (#1501)
Browse files Browse the repository at this point in the history
* Set timeout for GitHub Actions

* add changeset

* Run `skuba format`

---------

Co-authored-by: skuba <[email protected]>
  • Loading branch information
samchungy and seek-oss-ci committed Mar 25, 2024
1 parent 26b902e commit 9ecf7b6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/nasty-maps-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'skuba': patch
---

template/oss-npm-package: Set timeout to 20 minutes for GitHub Actions
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
contents: write
id-token: write
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Check out repo
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
permissions:
id-token: write
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Check out repo
uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
permissions:
checks: write
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- if: >-
github.actor != 'dependabot[bot]' && (
Expand Down Expand Up @@ -78,6 +79,7 @@ jobs:
template:
name: Integrate
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
matrix:
template:
Expand Down
1 change: 1 addition & 0 deletions template/oss-npm-package/.github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
contents: write
id-token: write
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Check out repo
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions template/oss-npm-package/.github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
permissions:
checks: write
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Check out repo
uses: actions/checkout@v4
Expand Down

0 comments on commit 9ecf7b6

Please sign in to comment.