mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
Githubactions - Cancel workflow on new commits in the same PR (#1028)
This commit is contained in:
6
.github/workflows/code_style.yml
vendored
6
.github/workflows/code_style.yml
vendored
@@ -6,6 +6,10 @@ on:
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: "clang-format-always-success"
|
||||
@@ -27,4 +31,4 @@ jobs:
|
||||
# Check if there are any formatting changes
|
||||
git diff --exit-code
|
||||
shell: bash
|
||||
continue-on-error: true
|
||||
continue-on-error: true
|
||||
|
||||
Reference in New Issue
Block a user