Skip to content

Commit 7ec8274

Browse files
jasonishvictorjulien
authored andcommitted
github-ci: cancel previous nix workflow for branch
On push, cancel previous nix workflows for the same branch.
1 parent c0fd86f commit 7ec8274

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/nix.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: "Nix Env Build"
22
on:
33
pull_request:
44
push:
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
58
jobs:
69
tests:
710
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)