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
# required to fetch internal or private CodeQL packs
26
+
packages: read
27
+
28
+
# only required for workflows in private repositories
29
+
actions: read
30
+
contents: read
31
+
32
+
strategy:
33
+
fail-fast: false
34
+
matrix:
35
+
include:
36
+
- language: actions
37
+
build-mode: none
38
+
- language: javascript-typescript
39
+
build-mode: none
40
+
- language: python
41
+
build-mode: none
42
+
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
43
+
# Use `c-cpp` to analyze code written in C, C++ or both
44
+
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
45
+
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
46
+
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
47
+
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
48
+
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
49
+
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
50
+
steps:
51
+
- name: Checkout repository
52
+
uses: actions/checkout@v4
53
+
54
+
# Add any setup steps before running the `github/codeql-action/init` action.
55
+
# This includes steps like installing compilers or runtimes (`actions/setup-node`
56
+
# or others). This is typically only required for manual builds.
57
+
# - name: Setup runtime (example)
58
+
# uses: actions/setup-example@v1
59
+
60
+
# Initializes the CodeQL tools for scanning.
61
+
- name: Initialize CodeQL
62
+
uses: github/codeql-action/init@v4
63
+
with:
64
+
languages: ${{ matrix.language }}
65
+
build-mode: ${{ matrix.build-mode }}
66
+
config-file: ./.codeql/config.yml
67
+
68
+
# If the analyze step fails for one of the languages you are analyzing with
69
+
# "We were unable to automatically build your code", modify the matrix above
70
+
# to set the build mode to "manual" for that language. Then modify this step
71
+
# to build your code.
72
+
# ℹ️ Command-line programs to run using the OS shell.
73
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
74
+
- name: Run manual build steps
75
+
if: matrix.build-mode == 'manual'
76
+
shell: bash
77
+
run: |
78
+
echo 'If you are using a "manual" build mode for one or more of the' \
79
+
'languages you are analyzing, replace this with the commands to build' \
<awidth="105"height="35"href="https://auth0.com/?utm_source=oss&utm_medium=gp&utm_campaign=oss"target="_blank"alt="Single Sign On & Token Based Authentication - Auth0">
3
-
<imgwidth="105"height="35"alt="JWT Auth for open source projects"src="https://cdn.auth0.com/oss/badges/a0-badge-dark.png"></a>
<p><awidth="105"height="35"href="https://auth0.com/?utm_source=oss&utm_medium=gp&utm_campaign=oss"target="_blank"alt="Single Sign On & Token Based Authentication - Auth0">
4
+
<imgwidth="105"height="35"alt="JWT Auth for open source projects"src="https://cdn.auth0.com/oss/badges/a0-badge-dark.png"></a></p>
if ($computedHashWithSuffix != $originalTemplateHash) {
60
-
thrownewException("Failed to anticipate current hash for {$templateFileName}\nHashed input: {$computedHashInput}\nCalculated hash: {$computedHashWithSuffix}\nActual hash: {$originalTemplateHash}");
thrownewException("Failed to anticipate current hash for {$templateFileName}\nTemplate: {$templateName}\nJoined dirs: {$originalJoinedDir}\nCalculated hash: {$computedHash}\nActual hash: {$originalHash}");
0 commit comments