FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
docs/.github/workflows/codeql.yml at main · INFINITYCHASE1/docs · GitHub
INFINITYCHASE1
/
docs
Public
forked from
github/docs
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
docs
/
.github
/
workflows
/
codeql.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
52 lines (46 loc) · 1.68 KB
Breadcrumbs
docs
/
.github
/
workflows
/
codeql.yml
Copy path
File metadata and controls
52 lines (46 loc) · 1.68 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
name
:
CodeQL analysis
#
**What it does**: This runs CodeQL on our repository.
#
**Why we have it**: Security scanning.
#
**Who does it impact**: Docs engineering.
on
:
pull_request
:
branches
:
-
main
paths
:
-
'
**/*.js
'
-
'
**/*.ts
'
-
'
**/*.jsx
'
-
'
**/*.tsx
'
-
'
.github/workflows/codeql.yml
'
#
This is so that when CodeQL runs on a pull request, it can compare
#
against the state of the base branch.
push
:
branches
:
-
main
permissions
:
actions
:
read
contents
:
read
security-events
:
write
#
This allows a subsequently queued workflow run to interrupt previous runs
concurrency
:
group
:
'
${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}
'
cancel-in-progress
:
true
jobs
:
build
:
if
:
github.repository == 'github/docs-internal' || github.repository == 'github/docs'
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
#
v4.1.1
-
uses
:
github/codeql-action/init@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa
#
v3.26.0
with
:
languages
:
javascript
#
comma separated list of values from {go, python, javascript, java, cpp, csharp, ruby}
config
:
|
paths-ignore:
- 'src/open-source/scripts/add-pr-links.js'
-
uses
:
github/codeql-action/analyze@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa
#
v3.26.0
continue-on-error
:
true
-
uses
:
./.github/actions/slack-alert
if
:
${{ failure() && github.event_name != 'pull_request' }}
with
:
slack_channel_id
:
${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
slack_token
:
${{ secrets.SLACK_DOCS_BOT_TOKEN }}
Back
|
FazBrowse Home
|
New Git URL