File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CODE_SCANNING
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+ paths-ignore :
9+ - ' **/*.md'
10+
11+ jobs :
12+ codeql_build :
13+ name : Scan with CodeQL
14+
15+ # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
16+ runs-on : ubuntu-latest
17+
18+ permissions :
19+ # required for all workflows
20+ security-events : write
21+
22+ # only required for workflows in private repositories
23+ actions : read
24+ contents : read
25+
26+ steps :
27+ - name : Checkout repository
28+ uses : actions/checkout@v6
29+
30+ # Initializes the CodeQL tools for scanning.
31+ - name : Initialize CodeQL
32+ uses : github/codeql-action/init@v4
33+ with :
34+ languages : javascript
35+ config : |
36+ paths-ignore:
37+ - '**/__tests__'
38+ - '**/test'
39+
40+ - name : Perform CodeQL Analysis
41+ uses : github/codeql-action/analyze@v4
You can’t perform that action at this time.
0 commit comments