github-ci: cancel previous nix workflow for branch

On push, cancel previous nix workflows for the same branch.
pull/15509/head
Jason Ish 5 months ago committed by Victor Julien
parent c0fd86f5b6
commit 7ec82740cd

@ -2,6 +2,9 @@ name: "Nix Env Build"
on:
pull_request:
push:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-latest

Loading…
Cancel
Save