You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Will fail if versions of direct dependencies listed in package-lock
202
-
# are not matching versions defined in package.json file of any of the
203
-
# workspace packages
204
-
# This command is very noisy when running from root with --all, store
205
-
# the output in a file that will be uploaded with rest of the logs
206
-
LS_ALL_STDOUT_FILE="$(npm config get cache)/_logs/$(date -u +"%Y-%m-%dT%H_%M_%SZ")-npm-ls-all.log"
207
-
echo "Validating dependencies with \`npm ls --all\`..."
208
-
(npm ls --all > $LS_ALL_STDOUT_FILE && echo "No mismatched dependency versions") || echo "\nThe \`npm ls\` command failed with mismatched dependencies error. This usually means that the dependency versions listed in package.json are not matching dependencies resolved and recorded in package-lock.json. If you updated package.json files in your PR, inspect the error output and try to re-install offending dependncies to fix the package-lock file."
# Will fail if versions of direct dependencies listed in package-lock are not
16
+
# matching versions defined in package.json file of any of the workspace
17
+
# packages. This command is very noisy when running from root with --all, store
18
+
# the output in a file that will be uploaded with rest of the logs
19
+
LS_ALL_STDOUT_FILE="$(npm config get cache)/_logs/$(date -u +"%Y-%m-%dT%H_%M_%SZ")-npm-ls-all.log"
20
+
echo"Validating dependencies with \`npm ls --all\`..."
21
+
(npm ls --all >$LS_ALL_STDOUT_FILE&&echo"No mismatched dependency versions") || (echo "";echo"The \`npm ls\` command failed with mismatched dependencies error. This usually means that the dependency versions listed in package.json are not matching dependencies resolved and recorded in package-lock.json. If you updated package.json files in your PR, inspect the error output and try to re-install offending dependncies to fix the package-lock file."&&exit 1)
error-hint: 'Invalid PR title. Make sure it follows the conventional commit specification (i.e. "<type>(<optional scope>): <description>") or add the no-title-validation label'
# Use only 'java' to analyze code written in Java, Kotlin or both
42
-
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
43
-
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
31
+
include:
32
+
- language: go
33
+
build-mode: autobuild
34
+
- language: javascript
35
+
build-mode: none
36
+
- language: python
37
+
build-mode: none
38
+
- language: actions
39
+
build-mode: none
44
40
45
41
steps:
46
42
- name: Checkout repository
47
43
uses: actions/checkout@v4
48
44
49
-
# Initializes the CodeQL tools for scanning.
50
45
- name: Initialize CodeQL
51
-
uses: github/codeql-action/init@v2
46
+
uses: github/codeql-action/init@v3
52
47
with:
53
48
languages: ${{ matrix.language }}
54
-
# If you wish to specify custom queries, you can do so here or in a config file.
55
-
# By default, queries listed here will override any specified in a config file.
56
-
# Prefix the list here with "+" to use these queries and those in the config file.
57
-
58
-
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
49
+
build-mode: ${{ matrix.build-mode }}
59
50
queries: security-extended
60
51
config: |
61
52
paths-ignore:
@@ -67,22 +58,7 @@ jobs:
67
58
- '**/*.spec.tsx'
68
59
- 'scripts/**'
69
60
70
-
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
71
-
# If this step fails, then you should remove it and run the build manually (see below)
72
-
- name: Autobuild
73
-
uses: github/codeql-action/autobuild@v2
74
-
75
-
# ℹ️ Command-line programs to run using the OS shell.
76
-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
77
-
78
-
# If the Autobuild fails above, remove it and uncomment the following three lines.
79
-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
0 commit comments