Skip to content

Commit fa96d4c

Browse files
committed
fix
Signed-off-by: Nelesh Singla <[email protected]>
1 parent ae12cb6 commit fa96d4c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/codeql.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ on:
1616
# Every Friday at 19:39
1717
- cron: '39 19 * * 5'
1818

19+
pull_request:
20+
paths:
21+
- '.github/workflows/codeql.yml'
22+
1923
jobs:
2024
analyze:
2125
name: Analyze
@@ -40,7 +44,7 @@ jobs:
4044

4145
# Initializes the CodeQL tools for scanning.
4246
- name: Initialize CodeQL
43-
uses: github/codeql-action/[email protected]
47+
uses: github/codeql-action/[email protected].3
4448
with:
4549
languages: ${{ matrix.language }}
4650
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -54,7 +58,7 @@ jobs:
5458
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
5559
# If this step fails, then you should remove it and run the build manually (see below)
5660
- name: Autobuild
57-
uses: github/codeql-action/[email protected]
61+
uses: github/codeql-action/[email protected].3
5862

5963
# ℹ️ Command-line programs to run using the OS shell.
6064
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -67,6 +71,6 @@ jobs:
6771
# ./location_of_script_within_repo/buildscript.sh
6872

6973
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/[email protected]
74+
uses: github/codeql-action/[email protected].3
7175
with:
7276
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)