Skip to content

Commit 95f1a89

Browse files
Bump github/codeql-action from 3 to 4 (AcademySoftwareFoundation#520)
* Bump github/codeql-action from 3 to 4 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4. - [Release notes](https://github.com/github/codeql-action/releases) - [Commits](github/codeql-action@v3...v4) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Add copyright; trigger only on main branch Signed-off-by: Cary Phillips <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Cary Phillips <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Cary Phillips <[email protected]>
1 parent 15a5cfd commit 95f1a89

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/codeql.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: BSD-3-Clause
2+
# Copyright (c) Contributors to the OpenEXR Project.
3+
#
14
# For most projects, this workflow file will not need changing; you simply need
25
# to commit it to your repository.
36
#
@@ -13,6 +16,7 @@ name: "CodeQL"
1316

1417
on:
1518
push:
19+
branches: [ "main"
1620
paths:
1721
- CMakeLists.txt
1822
- 'src/**'
@@ -21,6 +25,7 @@ on:
2125
- '!.github/workflows/**'
2226
- '.github/workflows/codeql.yml'
2327
pull_request:
28+
branches: [ "main"
2429
paths:
2530
- CMakeLists.txt
2631
- 'src/**'
@@ -69,7 +74,7 @@ jobs:
6974

7075
# Initializes the CodeQL tools for scanning.
7176
- name: Initialize CodeQL
72-
uses: github/codeql-action/init@v3
77+
uses: github/codeql-action/init@v4
7378
with:
7479
languages: ${{ matrix.language }}
7580
build-mode: ${{ matrix.build-mode }}
@@ -96,6 +101,6 @@ jobs:
96101
exit 1
97102
98103
- name: Perform CodeQL Analysis
99-
uses: github/codeql-action/analyze@v3
104+
uses: github/codeql-action/analyze@v4
100105
with:
101106
category: "/language:${{matrix.language}}"

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ jobs:
5151

5252
# Upload the results to GitHub's code scanning dashboard.
5353
- name: "Upload to code-scanning"
54-
uses: github/codeql-action/upload-sarif@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # v3.25.12
54+
uses: github/codeql-action/upload-sarif@a8d1ac45b9a34d11fe398d5503176af0d06b303e # v3.30.7
5555
with:
5656
sarif_file: results.sarif

0 commit comments

Comments
 (0)