Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Commit

Permalink
Fixing concurrency shenanigans
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotcourant committed Sep 26, 2021
1 parent b518897 commit ff0435b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
jobs:
analyze:
concurrency:
group: ${{ github.head_ref }}
group: ${{ github.ref }}-${{ github.job }}
cancel-in-progress: true
name: Analyze
runs-on: ubuntu-latest
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
test:
timeout-minutes: 15
concurrency:
group: ${{ github.ref }}
group: ${{ github.ref }}-${{ github.job }}
cancel-in-progress: true
name: Test
runs-on: ubuntu-latest
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
pg-test:
timeout-minutes: 10
concurrency:
group: ${{ github.ref }}
group: ${{ github.ref }}-${{ github.job }}
cancel-in-progress: true
name: PostgreSQL Test
runs-on: ubuntu-latest
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
container:
timeout-minutes: 45
concurrency:
group: ${{ github.ref }}
group: ${{ github.ref }}-${{ github.job }}
cancel-in-progress: true
needs:
- "test"
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
tags: "ghcr.io/monetr/rest-api:${{ github.sha }}"
docs-deploy:
concurrency:
group: ${{ github.ref }}
group: ${{ github.ref }}-${{ github.job }}
cancel-in-progress: true
needs:
- test
Expand All @@ -142,7 +142,7 @@ jobs:
folder: docs
staging:
concurrency:
group: ${{ github.ref }}
group: ${{ github.ref }}-${{ github.job }}
cancel-in-progress: true
needs:
- "test"
Expand Down

0 comments on commit ff0435b

Please sign in to comment.