HomeFreeBSD

CI: cancel workflows when PRs are updated (#16562)

Description

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

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Sep 24 2024, 4:02 PM
GitHub <noreply@github.com>Committed on Sep 24 2024, 4:02 PM
Parents
rGd40d40913d33: Evicting too many bytes from MFU metadata
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG4b5fbf70f2fe: CI: cancel workflows when PRs are updated (#16562) (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Sep 24 2024, 4:02 PM