mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-11 16:48:54 +00:00
ci(lint): 👷 use concurrency instead to cancel previous run
This commit is contained in:
parent
5cfbc433b7
commit
cfd5606430
9
.github/workflows/lint.yml
vendored
9
.github/workflows/lint.yml
vendored
|
@ -12,16 +12,15 @@ on:
|
|||
- "!**dependabot/**"
|
||||
- "!**release-please--**"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.12.1
|
||||
with:
|
||||
access_token: ${{ github.token }}
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.
|
||||
|
|
Loading…
Reference in a new issue