Skip to content

Commit 0b81154

Browse files
committed
ci: bump the CodeQL actions to v4.39.0 together and group their Dependabot updates
Dependabot opened one PR per CodeQL action (DeusData#2504 init, DeusData#2505 analyze, DeusData#2506 upload-sarif), each moving to 4.38.2. Merging them one at a time would leave init and analyze on different versions in between. This moves all three to v4.39.0 (6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee, the commit the v4.39.0 tag points to) in one change, and adds a Dependabot group so future CodeQL Action updates arrive as a single PR. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
1 parent d5bb016 commit 0b81154

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "weekly"
7+
groups:
8+
# init and analyze must run the same CodeQL Action version within a job, and
9+
# upload-sarif is kept in step with them, so one PR bumps all three.
10+
codeql-action:
11+
patterns:
12+
- "github/codeql-action*"

‎.github/workflows/codeql.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
run: scripts/ci/codeql-retrace-vendored.sh "$RUNNER_TEMP/codeql-retrace.txt"
114114

115115
- name: Initialize CodeQL
116-
uses: github/codeql-action/init@1c5b675653bb5c22dbe9b12b556ec555138e09fd # v4.38.1
116+
uses: github/codeql-action/init@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
117117
with:
118118
languages: ${{ matrix.language }}
119119
build-mode: ${{ matrix.build-mode }}
@@ -128,7 +128,7 @@ jobs:
128128
run: scripts/build.sh --reuse-vendored --retrace-from "$RUNNER_TEMP/codeql-retrace.txt"
129129

130130
- name: Perform CodeQL Analysis
131-
uses: github/codeql-action/analyze@1c5b675653bb5c22dbe9b12b556ec555138e09fd # v4.38.1
131+
uses: github/codeql-action/analyze@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
132132
with:
133133
category: "/language:${{ matrix.language }}"
134134

‎.github/workflows/scorecard.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ jobs:
3333
publish_results: true
3434

3535
- name: Upload SARIF results
36-
uses: github/codeql-action/upload-sarif@1c5b675653bb5c22dbe9b12b556ec555138e09fd # v4
36+
uses: github/codeql-action/upload-sarif@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
3737
with:
3838
sarif_file: results.sarif

0 commit comments

Comments
 (0)