Skip to content

Commit

Permalink
Allow only one GithubActions CI at the time
Browse files Browse the repository at this point in the history
This is to make sure that e.g. deploy actions running at different
times concurrently push wrong versions or older commit overrides
newest one.
  • Loading branch information
p2004a committed Nov 17, 2024
1 parent 635fd27 commit e8585ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ on:
required: true
type: boolean
default: false
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
build-and-test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e8585ea

Please sign in to comment.