From 2abfcee18db6e143e9da1f75f6d08283650266a7 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Wed, 29 Jan 2025 14:23:54 -0800 Subject: [PATCH 1/3] Update codeql.yml Explicitly suggest that users add their setup steps before calling init. --- code-scanning/codeql.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code-scanning/codeql.yml b/code-scanning/codeql.yml index 7e46549..7cdb425 100644 --- a/code-scanning/codeql.yml +++ b/code-scanning/codeql.yml @@ -55,6 +55,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + # Add any setup steps before running the `github/codeql-action/init` action. + # This includes steps like installing compilers or runtimes (`actions/setup-node` + # or others). This is typically only required for manual builds. + # - name: Setup runtime + # uses: actions/setup-XXX@vXXX + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3 From 7398b4eca4dc8d1aa3c84fcbcb7a31fa0f22bfe7 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Wed, 29 Jan 2025 15:39:32 -0800 Subject: [PATCH 2/3] Remove trailing whitespace --- code-scanning/codeql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code-scanning/codeql.yml b/code-scanning/codeql.yml index 7cdb425..a0a86f3 100644 --- a/code-scanning/codeql.yml +++ b/code-scanning/codeql.yml @@ -56,7 +56,7 @@ jobs: uses: actions/checkout@v4 # Add any setup steps before running the `github/codeql-action/init` action. - # This includes steps like installing compilers or runtimes (`actions/setup-node` + # This includes steps like installing compilers or runtimes (`actions/setup-node` # or others). This is typically only required for manual builds. # - name: Setup runtime # uses: actions/setup-XXX@vXXX From adcb922ec209f8b3dd061a0901eeb325fec3edd1 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Thu, 30 Jan 2025 16:50:30 -0800 Subject: [PATCH 3/3] Make the example setup more explicit. --- code-scanning/codeql.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code-scanning/codeql.yml b/code-scanning/codeql.yml index a0a86f3..eeb0dce 100644 --- a/code-scanning/codeql.yml +++ b/code-scanning/codeql.yml @@ -58,8 +58,8 @@ jobs: # Add any setup steps before running the `github/codeql-action/init` action. # This includes steps like installing compilers or runtimes (`actions/setup-node` # or others). This is typically only required for manual builds. - # - name: Setup runtime - # uses: actions/setup-XXX@vXXX + # - name: Setup runtime (example) + # uses: actions/setup-example@v1 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL