Restore config file and prevent duplicate run for feature branches
This commit is contained in:
4
.github/config/codeql-config.yml
vendored
Normal file
4
.github/config/codeql-config.yml
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
name: "CodeQL config"
|
||||
|
||||
paths:
|
||||
- src
|
||||
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
@@ -2,7 +2,7 @@ name: "Code scanning - action"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ['*/dev','*/contrib', '*/feature/**']
|
||||
branches: ['*/dev','*/contrib']
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: ['*/dev','*/contrib']
|
||||
@@ -26,3 +26,5 @@ jobs:
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v1
|
||||
with:
|
||||
config-file: ./.github/config/codeql-config.yml
|
||||
Reference in New Issue
Block a user