Cancel in-progress jobs on updated push
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Mon, 17 Apr 2023 18:32:53 +0000 (11:32 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Mon, 17 Apr 2023 18:32:53 +0000 (11:32 -0700)
commitd63006dcc031d70ca37b7ab2e999d4b0fba7e596
treeb68087fea58c31091f38e909243846399128cdf2
parentf471a1b9da4680c9da56ee5f7892e5c66cab0bf9
Cancel in-progress jobs on updated push

At times, PRs can go through multiple pushes in a short amount of time,
spawning a workflow run for each. Most of the time, there's no need to
let the previous jobs running if the code itself has changed (e.g., via
a force push), and we'd benefit from having those slots be used by other
PRs/branches instead.
.github/workflows/build.yml