]> git.proxmox.com Git - mirror_zfs.git/commit
CI: cancel workflows when PRs are updated (#16562)
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 24 Sep 2024 16:02:01 +0000 (09:02 -0700)
committerGitHub <noreply@github.com>
Tue, 24 Sep 2024 16:02:01 +0000 (09:02 -0700)
commit4b5fbf70f2fe37d72152385276a30e95087d62fb
tree49cfd1d2d5e1661bb6741a41584d41b20dcdde32
parentd40d40913d33eb2d50cf363fa9f5022fc794cc9f
CI: cancel workflows when PRs are updated (#16562)

For checkstyle, zloop, zfs-qemu, and codeql workflows cancel
in-progress jobs when the PR is updated.

Relevant GitHub Actions documentation:

  The following concurrency group cancels in-progress jobs or run
  on pull_request events only; if github.head_ref is undefined, the
  concurrency group will fallback to the run ID, which is guaranteed
  to be both unique and defined for the run.

https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #16562
.github/workflows/checkstyle.yaml
.github/workflows/codeql.yml
.github/workflows/zfs-qemu.yml
.github/workflows/zloop.yml