Skip to content

Commit ed51cd9

Browse files
Merge pull request #1483 from Quantum-Software-Development/FabianaCampanari-patch-1
Update codeql-analysis.yml
2 parents e7a85a4 + b592b56 commit ed51cd9

File tree

1 file changed

+8
-32
lines changed

1 file changed

+8
-32
lines changed
Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
1-
name: 'Code scanning'
1+
name: 'Code Scanning'
22

33
on:
4-
push:
5-
branches: [main]
6-
74
pull_request:
8-
# The branches below must be a subset of the branches above
9-
branches: [main]
105
types:
116
- opened
127
- synchronize
138
- reopened
149
- ready_for_review
15-
1610
schedule:
17-
- cron: '0 13 * * 1'
11+
- cron: '0 13 * * 1' # Scheduled to run every Monday at 13:00 UTC
1812

1913
concurrency:
2014
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
@@ -30,37 +24,19 @@ jobs:
3024
permissions:
3125
security-events: write
3226
steps:
27+
# Step 1: Checkout the repository
3328
- name: Checkout repository
34-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
29+
uses: actions/checkout@v4.1.1
3530

31+
# Step 2: Delete fixtures to suppress false positives
3632
- name: Delete fixtures to suppress false positives
3733
run: |
3834
find ./lib -type d -name '__fixtures__' -exec rm -rf {} \; || true
3935
40-
# Initializes the CodeQL tools for scanning.
36+
# Step 3: Initialize CodeQL for scanning
4137
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
38+
uses: github/codeql-action/init@v3.28.0
4339
with:
4440
languages: javascript
4541

46-
# Override language selection by uncommenting this and choosing your languages
47-
# with:
48-
# languages: go, javascript, csharp, python, cpp, java
49-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
50-
# If this step fails, then you should remove it and run the build manually (see below)
51-
- name: Autobuild
52-
uses: github/codeql-action/autobuild@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
53-
54-
# ℹ️ Command-line programs to run using the OS shell.
55-
# 📚 https://git.io/JvXDl
56-
57-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
58-
# and modify them (or add more) to build your code if your project
59-
# uses a compiled language
60-
61-
#- run: |
62-
# make bootstrap
63-
# make release
64-
65-
- name: Perform CodeQL Analysis
66-
uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
42+
# Step 4: Autobuild step to build

0 commit comments

Comments
 (0)