github: Only run CI for latest commit in a branch, cancel old runs
This commit is contained in:
1 parent
7b90dc93c0
commit
b36da850b5
7 files changed
+28
No files matched your search
@@ -2,6 +2,10 @@ name: "CodeQL"
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
CCACHE_BASEDIR: ${{ github.workspace }}
|
||||
CCACHE_COMPRESS: true
|
||||
|
||||
Reference in new issue
Block a user