Skip to content

Commit f4fc9d1

Browse files
[action] Walk around for code scanning hanging issue. (sonic-net#7752)
* remove polynomial query in codeql.
1 parent 7e0d56a commit f4fc9d1

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.github/codeql/codeql-config.yml

+3
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ name: "CodeQL config"
22
queries:
33
- uses: security-and-quality
44
- uses: security-extended
5+
query-filters:
6+
- exclude:
7+
id: py/polynomial-redos

.github/workflows/codeql-analysis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414

1515
jobs:
1616
analyze:
17+
if: github.repository_owner == 'sonic-net'
1718
name: Analyze
1819
runs-on: ubuntu-latest
1920
permissions:

azure-pipelines.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88
# continueOnError: true means it's an optional test job and will not block merge even though it fails(unless a required test job depends on its result)
99

1010
pr:
11-
- master
11+
branches:
12+
include:
13+
- master
14+
paths:
15+
exclude:
16+
- .github
1217
trigger: none
1318

1419
name: $(TeamProject)_$(Build.DefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.r)

0 commit comments

Comments
 (0)