mirror of https://github.com/docker/cli.git
Merge pull request #5454 from thaJeztah/touchup_codeql
gha: codeql: minor touch-ups and fixes
This commit is contained in:
commit
ff853c42a5
|
@ -11,14 +11,14 @@ permissions:
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'master'
|
- 'master'
|
||||||
- '[0-9]+.[0-9]+'
|
- '[0-9]+.[0-9]+'
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
pull_request:
|
pull_request:
|
||||||
# The branches below must be a subset of the branches above
|
# The branches below must be a subset of the branches above
|
||||||
branches: [ "master" ]
|
branches: ["master"]
|
||||||
schedule:
|
schedule:
|
||||||
# ┌───────────── minute (0 - 59)
|
# ┌───────────── minute (0 - 59)
|
||||||
# │ ┌───────────── hour (0 - 23)
|
# │ ┌───────────── hour (0 - 23)
|
||||||
|
@ -33,26 +33,21 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
codeql:
|
codeql:
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 360
|
timeout-minutes: 10
|
||||||
env:
|
env:
|
||||||
DISABLE_WARN_OUTSIDE_CONTAINER: '1'
|
DISABLE_WARN_OUTSIDE_CONTAINER: '1'
|
||||||
permissions:
|
permissions:
|
||||||
actions: read
|
actions: read
|
||||||
contents: read
|
contents: read
|
||||||
security-events: write
|
security-events: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
-
|
|
||||||
name: Checkout HEAD on PR
|
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
|
||||||
run: |
|
|
||||||
git checkout HEAD^2
|
|
||||||
# CodeQL 2.16.4's auto-build added support for multi-module repositories,
|
# CodeQL 2.16.4's auto-build added support for multi-module repositories,
|
||||||
# and is trying to be smart by searching for modules in every directory,
|
# and is trying to be smart by searching for modules in every directory,
|
||||||
# including vendor directories. If no module is found, it's creating one
|
# including vendor directories. If no module is found, it's creating one
|
||||||
|
|
Loading…
Reference in New Issue