Skip to content

Commit

Permalink
Merge pull request #432 from cidrblock/concurrency
Browse files Browse the repository at this point in the history
Limit concurrency for github actions for a single PR
  • Loading branch information
cidrblock authored May 25, 2022
2 parents 8d18303 + b3e0f52 commit 8e26155
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---
name: Test collection

concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true

on: # yamllint disable-line rule:truthy
pull_request:
branches: [main]
Expand Down
3 changes: 3 additions & 0 deletions changelogs/fragments/432.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
trivial:
- Enable concurrency check for PRs & GHA

0 comments on commit 8e26155

Please sign in to comment.