Change Shellcheck GitHub action to cancel already running actions on same branch.

pull/144/head
Ben Peachey 2 years ago
parent b0b28a0233
commit d14964436e
No known key found for this signature in database
GPG Key ID: C8E32F367B7AD50E

@ -2,6 +2,12 @@ on:
- push
- pull_request
# Cancels all previous workflow runs for the same branch that have not yet completed.
concurrency:
# The concurrency group contains the workflow name and the branch name.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
shellcheck:
runs-on: ubuntu-latest

Loading…
Cancel
Save