FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cli/.github/workflows/codeql.yml at master · docker/cli · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
docker
/
cli
Public
Notifications
You must be signed in to change notification settings
Fork
2.2k
Star
6k
Code
Issues
578
Pull requests
296
Discussions
Actions
Projects
Security and quality
2
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cli
/
.github
/
workflows
/
codeql.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
81 lines (77 loc) · 2.64 KB
Breadcrumbs
cli
/
.github
/
workflows
/
codeql.yml
Copy path
File metadata and controls
81 lines (77 loc) · 2.64 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
name
:
codeql
#
Default to 'contents: read', which grants actions to read commits.
#
#
If any permission is set, any permission not included in the list is
#
implicitly set to "none".
#
#
see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
permissions
:
contents
:
read
on
:
push
:
branches
:
-
'
master
'
-
'
[0-9]+.[0-9]+
'
-
'
[0-9]+.x
'
tags
:
-
'
v*
'
pull_request
:
#
The branches below must be a subset of the branches above
branches
:
["master"]
schedule
:
#
┌───────────── minute (0 - 59)
#
│ ┌───────────── hour (0 - 23)
#
│ │ ┌───────────── day of the month (1 - 31)
#
│ │ │ ┌───────────── month (1 - 12)
#
│ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday)
#
│ │ │ │ │
#
│ │ │ │ │
#
│ │ │ │ │
#
* * * * *
-
cron
:
'
0 9 * * 4
'
jobs
:
codeql
:
runs-on
:
ubuntu-24.04
timeout-minutes
:
10
env
:
DISABLE_WARN_OUTSIDE_CONTAINER
:
'
1
'
permissions
:
actions
:
read
contents
:
read
security-events
:
write
steps
:
-
name
:
Checkout
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v7.0.1
with
:
fetch-depth
:
2
persist-credentials
:
false
#
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,
#
including vendor directories. If no module is found, it's creating one
#
which is ... not what we want, so let's give it a "go.mod".
#
see: https://github.com/docker/cli/pull/4944#issuecomment-2002034698
-
name
:
Create go.mod
run
:
|
ln -s vendor.mod go.mod
ln -s vendor.sum go.sum
-
name
:
Update Go
uses
:
actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e
#
v7.0.0
with
:
go-version
:
"
1.26.7
"
cache
:
false
-
name
:
Initialize CodeQL
uses
:
github/codeql-action/init@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28
#
v4.37.8
with
:
languages
:
go
-
name
:
Autobuild
uses
:
github/codeql-action/autobuild@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28
#
v4.37.8
-
name
:
Perform CodeQL Analysis
uses
:
github/codeql-action/analyze@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28
#
v4.37.8
with
:
category
:
"
/language:go
"
Back
|
FazBrowse Home
|
New Git URL