Skip to content

Commit b6f0d9d

Browse files
authored
Merge pull request #797 from OpenSPP/ken/update_code-analysis
[chore] Update action to use CodeQLAction v3
2 parents 63f2ca3 + 57f271e commit b6f0d9d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/code-analysis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: "Code Scanning - Action"
33
on:
44
push:
55
branches:
6-
- "{{ odoo_version }}"
6+
- "17.0"
77
pull_request:
88
branches:
9-
- "{{ odoo_version }}"
9+
- "17.0"
1010
schedule:
1111
# ┌───────────── minute (0 - 59)
1212
# │ ┌───────────── hour (0 - 23)
@@ -38,11 +38,11 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v2
45+
uses: github/codeql-action/init@v3
4646
with:
4747
languages: ${{ matrix.language }}
4848
# Override language selection by uncommenting this and choosing your languages
@@ -52,7 +52,7 @@ jobs:
5252
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
5353
# If this step fails, then you should remove it and run the build manually (see below).
5454
- name: Autobuild
55-
uses: github/codeql-action/autobuild@v2
55+
uses: github/codeql-action/autobuild@v3
5656

5757
# ℹ️ Command-line programs to run using the OS shell.
5858
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -66,7 +66,7 @@ jobs:
6666
# make release
6767

6868
- name: Perform CodeQL Analysis
69-
uses: github/codeql-action/analyze@v2
69+
uses: github/codeql-action/analyze@v3
7070

7171
- name: TruffleHog OSS
7272
if: env.BRANCH_NAME != github.event.repository.default_branch

0 commit comments

Comments
 (0)