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
Copy file name to clipboardExpand all lines: .github/workflows/codeql-analysis.yml
+38-39Lines changed: 38 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -38,49 +38,48 @@ jobs:
38
38
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
39
39
40
40
steps:
41
-
- name: Checkout repository
42
-
uses: actions/checkout@v4
43
-
44
-
- run: sed -i '1i//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}' .npmrc
41
+
- name: Checkout repository
42
+
uses: actions/checkout@v5
43
+
with:
44
+
persist-credentials: false
45
45
46
-
# Initializes the CodeQL tools for scanning.
47
-
- name: Initialize CodeQL
48
-
uses: github/codeql-action/init@v3
49
-
with:
50
-
languages: ${{ matrix.language }}
51
-
# If you wish to specify custom queries, you can do so here or in a config file.
52
-
# By default, queries listed here will override any specified in a config file.
53
-
# Prefix the list here with "+" to use these queries and those in the config file.
54
-
55
-
# 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
56
-
# queries: security-extended,security-and-quality
46
+
- run: sed -i '1i//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}' .npmrc
57
47
58
-
59
-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
60
-
# If this step fails, then you should remove it and run the build manually (see below)
61
-
- name: Autobuild
62
-
uses: github/codeql-action/autobuild@v3
63
-
64
-
- name: Install Dependencies for custom build
65
-
shell: bash
66
-
run: |
67
-
sed -i '1i//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}' .npmrc
68
-
npm ci --no-audit
69
-
env:
70
-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48
+
# Initializes the CodeQL tools for scanning.
49
+
- name: Initialize CodeQL
50
+
uses: github/codeql-action/init@v3
51
+
with:
52
+
languages: ${{ matrix.language }}
53
+
# If you wish to specify custom queries, you can do so here or in a config file.
54
+
# By default, queries listed here will override any specified in a config file.
55
+
# Prefix the list here with "+" to use these queries and those in the config file.
0 commit comments