Skip to content

Commit

Permalink
Merge pull request rubyforgood#5848 from elasticspoon/feat/modify-rsp…
Browse files Browse the repository at this point in the history
…ec-github-action

feat: add timeout and concurrency limit to rspec GH action
  • Loading branch information
compwron authored Jun 21, 2024
2 parents dd152ad + 74c1e2b commit 259dd5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
rspec:
runs-on: ubuntu-latest
timeout-minutes: 20
env:
RAILS_ENV: test

Expand Down

0 comments on commit 259dd5b

Please sign in to comment.