Skip to content

Commit 68b408a

Browse files
authored
Merge pull request #2414 from bsipocz/GHA_codeql_update_v2
Update codeql GHA version
2 parents 7b289e7 + 3f00eb3 commit 68b408a

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
name: "CodeQL"
22

33
on:
4-
push:
5-
branches: [ main ]
6-
pull_request:
7-
# The branches below must be a subset of the branches above
8-
branches: [ main ]
4+
schedule:
5+
- cron: '0 6 * * 1'
96

107
concurrency:
118
group: ${{ github.workflow }}-${{ github.ref }}
@@ -30,11 +27,11 @@ jobs:
3027

3128
steps:
3229
- name: Checkout repository
33-
uses: actions/checkout@v2
30+
uses: actions/checkout@v3
3431

3532
# Initializes the CodeQL tools for scanning.
3633
- name: Initialize CodeQL
37-
uses: github/codeql-action/init@v1
34+
uses: github/codeql-action/init@v2
3835
with:
3936
languages: ${{ matrix.language }}
4037
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -45,7 +42,7 @@ jobs:
4542
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4643
# If this step fails, then you should remove it and run the build manually (see below)
4744
- name: Autobuild
48-
uses: github/codeql-action/autobuild@v1
45+
uses: github/codeql-action/autobuild@v2
4946

5047
# ℹ️ Command-line programs to run using the OS shell.
5148
# 📚 https://git.io/JvXDl
@@ -59,4 +56,4 @@ jobs:
5956
# make release
6057

6158
- name: Perform CodeQL Analysis
62-
uses: github/codeql-action/analyze@v1
59+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)