FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql/.github/workflows/check-implicit-this.yml at codeql-cli/v2.27.1 · github/codeql · GitHub
github
codeql
Repository navigation
Code
Issues
1k
(1k)
Pull requests
474
(474)
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql
/
.github
/
workflows
/
check-implicit-this.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
32 lines (29 loc) · 807 Bytes
Breadcrumbs
codeql
/
.github
/
workflows
/
check-implicit-this.yml
Copy path
File metadata and controls
32 lines (29 loc) · 807 Bytes
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
name
:
"
Check implicit this warnings
"
on
:
workflow_dispatch
:
pull_request
:
paths
:
-
"
**qlpack.yml
"
branches
:
-
main
-
"
rc/*
"
permissions
:
contents
:
read
jobs
:
check
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v5
-
name
:
Check that implicit this warnings is enabled for all packs
shell
:
bash
run
:
|
EXIT_CODE=0
packs="$(find . -iname 'qlpack.yml')"
for pack_file in ${packs}; do
option="$(yq '.warnOnImplicitThis' ${pack_file})"
if [ "${option}" != "true" ]; then
echo "::error file=${pack_file}::warnOnImplicitThis property must be set to 'true' for pack ${pack_file}"
EXIT_CODE=1
fi
done
exit "${EXIT_CODE}"
Back
|
FazBrowse Home
|
New Git URL