diff --git a/.github/workflows/cpp-linter.yml b/.github/workflows/cpp-linter.yml index 11c32c506..55a3f4d9e 100644 --- a/.github/workflows/cpp-linter.yml +++ b/.github/workflows/cpp-linter.yml @@ -1,4 +1,7 @@ name: lint +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true on: push: @@ -46,7 +49,7 @@ jobs: # Set this option to 'true' to only analyze changes in the event's diff. Defaults to 'false'. #lines-changed-only: # optional # Set this option to 'false' to analyze any source files in the repo. Defaults to 'true'. - files-changed-only: false + files-changed-only: true # Set this option with string of path(s) to ignore. ignore: '.github|.idea|.vscode|extern' # The directory containing compile_commands.json file.