Skip to content

Commit

Permalink
Merge pull request #145 from Shopify/actions_timeouts
Browse files Browse the repository at this point in the history
Add timeouts to jobs
  • Loading branch information
gmcgibbon authored Nov 21, 2024
2 parents f20b02b + 4b6d209 commit 174b838
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ name: CI
on: [push]

jobs:
build:
test:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -33,6 +34,7 @@ jobs:
bundle exec rake
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
fail-fast: false
steps:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ on:
jobs:
cla:
runs-on: ubuntu-latest
timeout-minutes: 2
if: |
(github.event.issue.pull_request
(github.event.issue.pull_request
&& !github.event.issue.pull_request.merged_at
&& contains(github.event.comment.body, 'signed')
)
)
|| (github.event.pull_request && !github.event.pull_request.merged)
steps:
- uses: Shopify/shopify-cla-action@v1
Expand Down

0 comments on commit 174b838

Please sign in to comment.