Skip to content

Commit 39b7034

Browse files
authored
chore(ci): use sast on every commit on any supported language (#2646)
1 parent 0c80f35 commit 39b7034

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

.github/workflows/codeql-analysis.yml

+1-19
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ name: "CodeQL"
1212

1313
on:
1414
push:
15-
paths:
16-
- "aws_lambda_powertools/**"
17-
branches:
18-
- develop
15+
branches: [develop]
1916

2017
permissions:
2118
contents: read
@@ -28,28 +25,13 @@ jobs:
2825
security-events: write
2926
actions: read
3027

31-
strategy:
32-
fail-fast: false
33-
matrix:
34-
# Override automatic language detection by changing the below list
35-
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
36-
language: ["python"]
37-
# Learn more...
38-
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
39-
4028
steps:
4129
- name: Checkout repository
4230
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
4331

4432
# Initializes the CodeQL tools for scanning.
4533
- name: Initialize CodeQL
4634
uses: github/codeql-action/init@f31a31c052207cc13b328d6295c5b728bb49568c # v2.13.1
47-
with:
48-
languages: ${{ matrix.language }}
49-
# If you wish to specify custom queries, you can do so here or in a config file.
50-
# By default, queries listed here will override any specified in a config file.
51-
# Prefix the list here with "+" to use these queries and those in the config file.
52-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5335

5436
- name: Perform CodeQL Analysis
5537
uses: github/codeql-action/analyze@f31a31c052207cc13b328d6295c5b728bb49568c # v2.13.1

0 commit comments

Comments
 (0)