forked from docker/metadata-action
-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (53 loc) · 1.77 KB
/
Copy pathcodeql.yml
File metadata and controls
57 lines (53 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: codeql
on:
push:
branches:
- 'master'
- 'releases/v*'
pull_request:
permissions:
actions: read
contents: read
security-events: write
env:
NODE_VERSION: "24"
jobs:
analyze:
# Disabled in this fork, matching the workflow-patching convention used by
# publish.yml and validate.yml (see CLAUDE.md). This repo has GitHub's DEFAULT
# CodeQL setup enabled, and GitHub refuses SARIF from an advanced configuration
# while default setup is on: "CodeQL analyses from advanced configurations
# cannot be processed when the default setup is enabled". This workflow has
# therefore failed on every run since 2026-03-24 while contributing no coverage
# the default setup does not already provide. Kept (rather than deleted) with a
# one-line guard so upstream syncs stay conflict-free.
if: github.repository_owner == 'docker'
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
with:
persist-credentials: false
-
name: Enable corepack
run: |
corepack enable
yarn --version
-
name: Set up Node
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
with:
node-version: ${{ env.NODE_VERSION }}
package-manager-cache: false
-
name: Initialize CodeQL
uses: github/codeql-action/init@fddeee1a7ece751b577e409a89057319e3172939 # v4
with:
languages: javascript-typescript
build-mode: none
-
name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@fddeee1a7ece751b577e409a89057319e3172939 # v4
with:
category: "/language:javascript-typescript"