Skip to content

Commit ff853c4

Browse files
authored
Merge pull request #5454 from thaJeztah/touchup_codeql
gha: codeql: minor touch-ups and fixes
2 parents 56d0af7 + f468606 commit ff853c4

1 file changed

Lines changed: 9 additions & 14 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ permissions:
1111

1212
on:
1313
push:
14-
branches:
15-
- 'master'
16-
- '[0-9]+.[0-9]+'
17-
tags:
18-
- 'v*'
14+
branches:
15+
- 'master'
16+
- '[0-9]+.[0-9]+'
17+
tags:
18+
- 'v*'
1919
pull_request:
2020
# The branches below must be a subset of the branches above
21-
branches: [ "master" ]
21+
branches: ["master"]
2222
schedule:
2323
# ┌───────────── minute (0 - 59)
2424
# │ ┌───────────── hour (0 - 23)
@@ -33,26 +33,21 @@ on:
3333

3434
jobs:
3535
codeql:
36-
runs-on: 'ubuntu-latest'
37-
timeout-minutes: 360
36+
runs-on: ubuntu-24.04
37+
timeout-minutes: 10
3838
env:
3939
DISABLE_WARN_OUTSIDE_CONTAINER: '1'
4040
permissions:
4141
actions: read
4242
contents: read
4343
security-events: write
44-
44+
4545
steps:
4646
-
4747
name: Checkout
4848
uses: actions/checkout@v4
4949
with:
5050
fetch-depth: 2
51-
-
52-
name: Checkout HEAD on PR
53-
if: ${{ github.event_name == 'pull_request' }}
54-
run: |
55-
git checkout HEAD^2
5651
# CodeQL 2.16.4's auto-build added support for multi-module repositories,
5752
# and is trying to be smart by searching for modules in every directory,
5853
# including vendor directories. If no module is found, it's creating one

0 commit comments

Comments
 (0)