Skip to content

Commit c410f78

Browse files
author
Paul Johnson
committed
Restore config file and prevent duplicate run for feature branches
1 parent 2c44d67 commit c410f78

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/config/codeql-config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
name: "CodeQL config"
2+
3+
paths:
4+
- src

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "Code scanning - action"
22

33
on:
44
push:
5-
branches: ['*/dev','*/contrib', '*/feature/**']
5+
branches: ['*/dev','*/contrib']
66
pull_request:
77
# The branches below must be a subset of the branches above
88
branches: ['*/dev','*/contrib']
@@ -26,3 +26,5 @@ jobs:
2626
2727
- name: Perform CodeQL Analysis
2828
uses: github/codeql-action/analyze@v1
29+
with:
30+
config-file: ./.github/config/codeql-config.yml

0 commit comments

Comments
 (0)