From 16e8ccc657ef085eca5d8e25b9d7603be751eae3 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 4 Nov 2024 13:10:28 -0500 Subject: [PATCH 1/6] spelling: in case Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .github/workflows/script/check-js.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/script/check-js.sh b/.github/workflows/script/check-js.sh index 3c9b758127..f8f5d19d08 100755 --- a/.github/workflows/script/check-js.sh +++ b/.github/workflows/script/check-js.sh @@ -7,7 +7,7 @@ if [ ! -z "$(git status --porcelain)" ]; then >&2 echo "Failed: Repo should be clean before testing!" exit 1 fi -# Wipe the lib directory incase there are extra unnecessary files in there +# Wipe the lib directory in case there are extra unnecessary files in there rm -rf lib # Generate the JavaScript files npm run-script build From 756aa649dfdf25203aa333caa3f5f9503f09400e Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 4 Nov 2024 08:25:38 -0500 Subject: [PATCH 2/6] spelling: macos Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .github/workflows/__all-platform-bundle.yml | 2 +- .github/workflows/__analyze-ref-input.yml | 2 +- .github/workflows/__autobuild-action.yml | 2 +- .../__autobuild-direct-tracing-with-working-dir.yml | 2 +- .github/workflows/__autobuild-direct-tracing.yml | 2 +- .github/workflows/__build-mode-autobuild.yml | 2 +- .github/workflows/__build-mode-manual.yml | 2 +- .github/workflows/__build-mode-none.yml | 2 +- .github/workflows/__build-mode-rollback.yml | 2 +- .github/workflows/__cleanup-db-cluster-dir.yml | 2 +- .github/workflows/__config-export.yml | 2 +- .github/workflows/__config-input.yml | 2 +- .github/workflows/__cpp-deptrace-disabled.yml | 2 +- .github/workflows/__cpp-deptrace-enabled-on-macos.yml | 2 +- .github/workflows/__cpp-deptrace-enabled.yml | 2 +- .github/workflows/__diagnostics-export.yml | 2 +- .github/workflows/__export-file-baseline-information.yml | 2 +- .github/workflows/__extractor-ram-threads.yml | 2 +- .github/workflows/__go-custom-queries.yml | 2 +- .../__go-indirect-tracing-workaround-diagnostic.yml | 2 +- .../__go-indirect-tracing-workaround-no-file-program.yml | 2 +- .github/workflows/__go-indirect-tracing-workaround.yml | 2 +- .github/workflows/__go-tracing-autobuilder.yml | 2 +- .github/workflows/__go-tracing-custom-build-steps.yml | 2 +- .github/workflows/__go-tracing-legacy-workflow.yml | 2 +- .github/workflows/__init-with-registries.yml | 2 +- .github/workflows/__javascript-source-root.yml | 2 +- .github/workflows/__job-run-uuid-sarif.yml | 2 +- .github/workflows/__language-aliases.yml | 2 +- .github/workflows/__multi-language-autodetect.yml | 4 ++-- .../workflows/__packaging-codescanning-config-inputs-js.yml | 4 ++-- .github/workflows/__packaging-config-inputs-js.yml | 4 ++-- .github/workflows/__packaging-config-js.yml | 4 ++-- .github/workflows/__packaging-inputs-js.yml | 4 ++-- .github/workflows/__remote-config.yml | 2 +- .github/workflows/__resolve-environment-action.yml | 4 ++-- .github/workflows/__rubocop-multi-language.yml | 2 +- .github/workflows/__ruby.yml | 2 +- .github/workflows/__split-workflow.yml | 2 +- .github/workflows/__submit-sarif-failure.yml | 2 +- .github/workflows/__swift-autobuild.yml | 2 +- .github/workflows/__swift-custom-build.yml | 2 +- .github/workflows/__test-autobuild-working-dir.yml | 2 +- .github/workflows/__test-local-codeql.yml | 2 +- .github/workflows/__test-proxy.yml | 2 +- .github/workflows/__unset-environment.yml | 2 +- .github/workflows/__upload-ref-sha-input.yml | 2 +- .github/workflows/__with-checkout-path.yml | 2 +- .github/workflows/__zstd-bundle-streaming.yml | 2 +- .github/workflows/__zstd-bundle.yml | 2 +- CHANGELOG.md | 6 +++--- lib/environment.js | 2 +- lib/init-action.js | 4 ++-- lib/tracer-config.js | 2 +- pr-checks/checks/multi-language-autodetect.yml | 4 ++-- pr-checks/sync.py | 2 +- src/environment.ts | 2 +- src/init-action.ts | 4 ++-- src/tracer-config.ts | 2 +- 59 files changed, 70 insertions(+), 70 deletions(-) diff --git a/.github/workflows/__all-platform-bundle.yml b/.github/workflows/__all-platform-bundle.yml index cf8c70ea3b..d6fbb9d430 100644 --- a/.github/workflows/__all-platform-bundle.yml +++ b/.github/workflows/__all-platform-bundle.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__analyze-ref-input.yml b/.github/workflows/__analyze-ref-input.yml index 831081b226..b54ddeadde 100644 --- a/.github/workflows/__analyze-ref-input.yml +++ b/.github/workflows/__analyze-ref-input.yml @@ -40,7 +40,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__autobuild-action.yml b/.github/workflows/__autobuild-action.yml index e1faca8580..118e29449e 100644 --- a/.github/workflows/__autobuild-action.yml +++ b/.github/workflows/__autobuild-action.yml @@ -40,7 +40,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml b/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml index 39a39741a0..f26cb36b44 100644 --- a/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml +++ b/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml @@ -42,7 +42,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__autobuild-direct-tracing.yml b/.github/workflows/__autobuild-direct-tracing.yml index 87f682dfcf..83c1976ebd 100644 --- a/.github/workflows/__autobuild-direct-tracing.yml +++ b/.github/workflows/__autobuild-direct-tracing.yml @@ -42,7 +42,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__build-mode-autobuild.yml b/.github/workflows/__build-mode-autobuild.yml index 757e97a2ce..362b78cfb4 100644 --- a/.github/workflows/__build-mode-autobuild.yml +++ b/.github/workflows/__build-mode-autobuild.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__build-mode-manual.yml b/.github/workflows/__build-mode-manual.yml index 3e6f653a48..d846da36d8 100644 --- a/.github/workflows/__build-mode-manual.yml +++ b/.github/workflows/__build-mode-manual.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__build-mode-none.yml b/.github/workflows/__build-mode-none.yml index f3f22b3269..80a7a90e73 100644 --- a/.github/workflows/__build-mode-none.yml +++ b/.github/workflows/__build-mode-none.yml @@ -38,7 +38,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__build-mode-rollback.yml b/.github/workflows/__build-mode-rollback.yml index a1a15c46eb..3e232144cc 100644 --- a/.github/workflows/__build-mode-rollback.yml +++ b/.github/workflows/__build-mode-rollback.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__cleanup-db-cluster-dir.yml b/.github/workflows/__cleanup-db-cluster-dir.yml index 5f5471d3ec..2851f99f0e 100644 --- a/.github/workflows/__cleanup-db-cluster-dir.yml +++ b/.github/workflows/__cleanup-db-cluster-dir.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__config-export.yml b/.github/workflows/__config-export.yml index fae866faf3..a6e73f78c1 100644 --- a/.github/workflows/__config-export.yml +++ b/.github/workflows/__config-export.yml @@ -46,7 +46,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__config-input.yml b/.github/workflows/__config-input.yml index b38ff3b2da..0337aeac8b 100644 --- a/.github/workflows/__config-input.yml +++ b/.github/workflows/__config-input.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__cpp-deptrace-disabled.yml b/.github/workflows/__cpp-deptrace-disabled.yml index 2dc5bd4d47..d38f04063a 100644 --- a/.github/workflows/__cpp-deptrace-disabled.yml +++ b/.github/workflows/__cpp-deptrace-disabled.yml @@ -40,7 +40,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__cpp-deptrace-enabled-on-macos.yml b/.github/workflows/__cpp-deptrace-enabled-on-macos.yml index fe7e1b5658..544fe2ab22 100644 --- a/.github/workflows/__cpp-deptrace-enabled-on-macos.yml +++ b/.github/workflows/__cpp-deptrace-enabled-on-macos.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__cpp-deptrace-enabled.yml b/.github/workflows/__cpp-deptrace-enabled.yml index 72b63c17f0..3e93548d54 100644 --- a/.github/workflows/__cpp-deptrace-enabled.yml +++ b/.github/workflows/__cpp-deptrace-enabled.yml @@ -40,7 +40,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__diagnostics-export.yml b/.github/workflows/__diagnostics-export.yml index a8981f6245..f7132bd4ba 100644 --- a/.github/workflows/__diagnostics-export.yml +++ b/.github/workflows/__diagnostics-export.yml @@ -46,7 +46,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__export-file-baseline-information.yml b/.github/workflows/__export-file-baseline-information.yml index d6635becc6..a7f7cf4c82 100644 --- a/.github/workflows/__export-file-baseline-information.yml +++ b/.github/workflows/__export-file-baseline-information.yml @@ -40,7 +40,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__extractor-ram-threads.yml b/.github/workflows/__extractor-ram-threads.yml index 9245f8f6b1..46d46ec8cf 100644 --- a/.github/workflows/__extractor-ram-threads.yml +++ b/.github/workflows/__extractor-ram-threads.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__go-custom-queries.yml b/.github/workflows/__go-custom-queries.yml index 01a0bc914b..f921835d06 100644 --- a/.github/workflows/__go-custom-queries.yml +++ b/.github/workflows/__go-custom-queries.yml @@ -38,7 +38,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml b/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml index f2222c8cdc..1726950ad6 100644 --- a/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml +++ b/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml b/.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml index 1731890fc9..a1d1aa24d1 100644 --- a/.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml +++ b/.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__go-indirect-tracing-workaround.yml b/.github/workflows/__go-indirect-tracing-workaround.yml index 60730af255..9f7e06e59e 100644 --- a/.github/workflows/__go-indirect-tracing-workaround.yml +++ b/.github/workflows/__go-indirect-tracing-workaround.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__go-tracing-autobuilder.yml b/.github/workflows/__go-tracing-autobuilder.yml index 91d1b5db11..252490356b 100644 --- a/.github/workflows/__go-tracing-autobuilder.yml +++ b/.github/workflows/__go-tracing-autobuilder.yml @@ -66,7 +66,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__go-tracing-custom-build-steps.yml b/.github/workflows/__go-tracing-custom-build-steps.yml index fff3e7eec6..2ba4314296 100644 --- a/.github/workflows/__go-tracing-custom-build-steps.yml +++ b/.github/workflows/__go-tracing-custom-build-steps.yml @@ -66,7 +66,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__go-tracing-legacy-workflow.yml b/.github/workflows/__go-tracing-legacy-workflow.yml index 6d35809ded..c4707c1b7b 100644 --- a/.github/workflows/__go-tracing-legacy-workflow.yml +++ b/.github/workflows/__go-tracing-legacy-workflow.yml @@ -66,7 +66,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__init-with-registries.yml b/.github/workflows/__init-with-registries.yml index 2a4bdf78bf..776215bf30 100644 --- a/.github/workflows/__init-with-registries.yml +++ b/.github/workflows/__init-with-registries.yml @@ -53,7 +53,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__javascript-source-root.yml b/.github/workflows/__javascript-source-root.yml index 45d316a1af..31cdaa85c0 100644 --- a/.github/workflows/__javascript-source-root.yml +++ b/.github/workflows/__javascript-source-root.yml @@ -40,7 +40,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__job-run-uuid-sarif.yml b/.github/workflows/__job-run-uuid-sarif.yml index 2c7f2da226..f8a0a6b2e4 100644 --- a/.github/workflows/__job-run-uuid-sarif.yml +++ b/.github/workflows/__job-run-uuid-sarif.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__language-aliases.yml b/.github/workflows/__language-aliases.yml index febf4e0f45..8d25a4d112 100644 --- a/.github/workflows/__language-aliases.yml +++ b/.github/workflows/__language-aliases.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index 11370f5c8f..f7df487ac2 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -66,7 +66,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: @@ -146,7 +146,7 @@ jobs: exit 1 fi - - name: Check language autodetect for Swift on MacOS + - name: Check language autodetect for Swift on macOS if: runner.os == 'macOS' shell: bash run: | diff --git a/.github/workflows/__packaging-codescanning-config-inputs-js.yml b/.github/workflows/__packaging-codescanning-config-inputs-js.yml index b961f56e81..3d56a2aa01 100644 --- a/.github/workflows/__packaging-codescanning-config-inputs-js.yml +++ b/.github/workflows/__packaging-codescanning-config-inputs-js.yml @@ -52,7 +52,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: @@ -84,7 +84,7 @@ jobs: uses: ./../action/.github/actions/check-sarif with: sarif-file: ${{ runner.temp }}/results/javascript.sarif - queries-run: + queries-run: javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block queries-not-run: foo,bar diff --git a/.github/workflows/__packaging-config-inputs-js.yml b/.github/workflows/__packaging-config-inputs-js.yml index 769a169f8b..4f26e89a03 100644 --- a/.github/workflows/__packaging-config-inputs-js.yml +++ b/.github/workflows/__packaging-config-inputs-js.yml @@ -52,7 +52,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: @@ -84,7 +84,7 @@ jobs: uses: ./../action/.github/actions/check-sarif with: sarif-file: ${{ runner.temp }}/results/javascript.sarif - queries-run: + queries-run: javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block queries-not-run: foo,bar diff --git a/.github/workflows/__packaging-config-js.yml b/.github/workflows/__packaging-config-js.yml index 4cfcb4ca12..a1a9ba0c92 100644 --- a/.github/workflows/__packaging-config-js.yml +++ b/.github/workflows/__packaging-config-js.yml @@ -52,7 +52,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: @@ -83,7 +83,7 @@ jobs: uses: ./../action/.github/actions/check-sarif with: sarif-file: ${{ runner.temp }}/results/javascript.sarif - queries-run: + queries-run: javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block queries-not-run: foo,bar diff --git a/.github/workflows/__packaging-inputs-js.yml b/.github/workflows/__packaging-inputs-js.yml index 0944989bb6..5efe2351ba 100644 --- a/.github/workflows/__packaging-inputs-js.yml +++ b/.github/workflows/__packaging-inputs-js.yml @@ -52,7 +52,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: @@ -83,7 +83,7 @@ jobs: uses: ./../action/.github/actions/check-sarif with: sarif-file: ${{ runner.temp }}/results/javascript.sarif - queries-run: + queries-run: javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block queries-not-run: foo,bar diff --git a/.github/workflows/__remote-config.yml b/.github/workflows/__remote-config.yml index 2d7f3207ab..3bf2562299 100644 --- a/.github/workflows/__remote-config.yml +++ b/.github/workflows/__remote-config.yml @@ -38,7 +38,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__resolve-environment-action.yml b/.github/workflows/__resolve-environment-action.yml index e5896948cb..105534d6df 100644 --- a/.github/workflows/__resolve-environment-action.yml +++ b/.github/workflows/__resolve-environment-action.yml @@ -52,7 +52,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: @@ -88,7 +88,7 @@ jobs: language: javascript-typescript - name: Fail if JavaScript/TypeScript configuration present - if: + if: fromJSON(steps.resolve-environment-js.outputs.environment).configuration.javascript run: exit 1 env: diff --git a/.github/workflows/__rubocop-multi-language.yml b/.github/workflows/__rubocop-multi-language.yml index 9e86023621..bc0eae2e50 100644 --- a/.github/workflows/__rubocop-multi-language.yml +++ b/.github/workflows/__rubocop-multi-language.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__ruby.yml b/.github/workflows/__ruby.yml index 2473d4ed1a..46a12ecac0 100644 --- a/.github/workflows/__ruby.yml +++ b/.github/workflows/__ruby.yml @@ -46,7 +46,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__split-workflow.yml b/.github/workflows/__split-workflow.yml index 12d03c3d89..aaad2a9149 100644 --- a/.github/workflows/__split-workflow.yml +++ b/.github/workflows/__split-workflow.yml @@ -46,7 +46,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__submit-sarif-failure.yml b/.github/workflows/__submit-sarif-failure.yml index 33ed3cdae3..00f56224da 100644 --- a/.github/workflows/__submit-sarif-failure.yml +++ b/.github/workflows/__submit-sarif-failure.yml @@ -40,7 +40,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__swift-autobuild.yml b/.github/workflows/__swift-autobuild.yml index a29940ae32..3c178424dd 100644 --- a/.github/workflows/__swift-autobuild.yml +++ b/.github/workflows/__swift-autobuild.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__swift-custom-build.yml b/.github/workflows/__swift-custom-build.yml index 997c581c74..a4a7a8062c 100644 --- a/.github/workflows/__swift-custom-build.yml +++ b/.github/workflows/__swift-custom-build.yml @@ -40,7 +40,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__test-autobuild-working-dir.yml b/.github/workflows/__test-autobuild-working-dir.yml index 137ca450a4..4904677e0e 100644 --- a/.github/workflows/__test-autobuild-working-dir.yml +++ b/.github/workflows/__test-autobuild-working-dir.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__test-local-codeql.yml b/.github/workflows/__test-local-codeql.yml index ee8623a5f6..a79d6e9f72 100644 --- a/.github/workflows/__test-local-codeql.yml +++ b/.github/workflows/__test-local-codeql.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__test-proxy.yml b/.github/workflows/__test-proxy.yml index 9ba8d42229..322a66055a 100644 --- a/.github/workflows/__test-proxy.yml +++ b/.github/workflows/__test-proxy.yml @@ -36,7 +36,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__unset-environment.yml b/.github/workflows/__unset-environment.yml index b5d3d6869c..7ae11bd1e8 100644 --- a/.github/workflows/__unset-environment.yml +++ b/.github/workflows/__unset-environment.yml @@ -38,7 +38,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__upload-ref-sha-input.yml b/.github/workflows/__upload-ref-sha-input.yml index 3effa2d7fa..e956b81651 100644 --- a/.github/workflows/__upload-ref-sha-input.yml +++ b/.github/workflows/__upload-ref-sha-input.yml @@ -40,7 +40,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__with-checkout-path.yml b/.github/workflows/__with-checkout-path.yml index f2699df484..82b1d910c6 100644 --- a/.github/workflows/__with-checkout-path.yml +++ b/.github/workflows/__with-checkout-path.yml @@ -40,7 +40,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__zstd-bundle-streaming.yml b/.github/workflows/__zstd-bundle-streaming.yml index 8e3d8adeac..8a143a2e86 100644 --- a/.github/workflows/__zstd-bundle-streaming.yml +++ b/.github/workflows/__zstd-bundle-streaming.yml @@ -38,7 +38,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/.github/workflows/__zstd-bundle.yml b/.github/workflows/__zstd-bundle.yml index 757aeadb1c..da8a554426 100644 --- a/.github/workflows/__zstd-bundle.yml +++ b/.github/workflows/__zstd-bundle.yml @@ -40,7 +40,7 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on MacOS + - name: Setup Python on macOS uses: actions/setup-python@v5 if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' with: diff --git a/CHANGELOG.md b/CHANGELOG.md index c3a35ca29c..cecfa1de54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,12 +57,12 @@ No user facing changes. ## 3.26.5 - 23 Aug 2024 -- Fix an issue where the `csrutil` system call used for telemetry would fail on MacOS ARM machines with System Integrity Protection disabled. [#2441](https://github.com/github/codeql-action/pull/2441) +- Fix an issue where the `csrutil` system call used for telemetry would fail on macOS ARM machines with System Integrity Protection disabled. [#2441](https://github.com/github/codeql-action/pull/2441) ## 3.26.4 - 21 Aug 2024 - _Deprecation:_ The `add-snippets` input on the `analyze` Action is deprecated and will be removed in the first release in August 2025. [#2436](https://github.com/github/codeql-action/pull/2436) -- Fix an issue where the disk usage system call used for telemetry would fail on MacOS ARM machines with System Integrity Protection disabled, and then surface a warning. The system call is now disabled for these machines. [#2434](https://github.com/github/codeql-action/pull/2434) +- Fix an issue where the disk usage system call used for telemetry would fail on macOS ARM machines with System Integrity Protection disabled, and then surface a warning. The system call is now disabled for these machines. [#2434](https://github.com/github/codeql-action/pull/2434) ## 3.26.3 - 19 Aug 2024 @@ -140,7 +140,7 @@ No user facing changes. ## 3.25.3 - 25 Apr 2024 - Update default CodeQL bundle version to 2.17.1. [#2247](https://github.com/github/codeql-action/pull/2247) -- Workflows running on `macos-latest` using CodeQL CLI versions before v2.15.1 will need to either upgrade their CLI version to v2.15.1 or newer, or change the platform to an Intel MacOS runner, such as `macos-12`. ARM machines with SIP disabled, including the newest `macos-latest` image, are unsupported for CLI versions before 2.15.1. [#2261](https://github.com/github/codeql-action/pull/2261) +- Workflows running on `macos-latest` using CodeQL CLI versions before v2.15.1 will need to either upgrade their CLI version to v2.15.1 or newer, or change the platform to an Intel macOS runner, such as `macos-12`. ARM machines with SIP disabled, including the newest `macos-latest` image, are unsupported for CLI versions before 2.15.1. [#2261](https://github.com/github/codeql-action/pull/2261) ## 3.25.2 - 22 Apr 2024 diff --git a/lib/environment.js b/lib/environment.js index 66a28a9a45..aa1b73667b 100644 --- a/lib/environment.js +++ b/lib/environment.js @@ -44,7 +44,7 @@ var EnvVar; /** Whether the init action has been run. */ EnvVar["INIT_ACTION_HAS_RUN"] = "CODEQL_ACTION_INIT_HAS_RUN"; /** - * For MacOS. Result of `csrutil status` to determine whether System Integrity + * For macOS. Result of `csrutil status` to determine whether System Integrity * Protection is enabled. */ EnvVar["IS_SIP_ENABLED"] = "CODEQL_ACTION_IS_SIP_ENABLED"; diff --git a/lib/init-action.js b/lib/init-action.js index 260213d264..049dca97c0 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -330,13 +330,13 @@ async function run() { if ((0, caching_utils_1.shouldRestoreCache)(config.dependencyCachingEnabled)) { await (0, dependency_caching_1.downloadDependencyCaches)(config.languages, logger); } - // For CLI versions <2.15.1, build tracing caused errors in MacOS ARM machines with + // For CLI versions <2.15.1, build tracing caused errors in macOS ARM machines with // System Integrity Protection (SIP) disabled. if (!(await (0, util_1.codeQlVersionAtLeast)(codeql, "2.15.1")) && process.platform === "darwin" && (process.arch === "arm" || process.arch === "arm64") && !(await (0, util_1.checkSipEnablement)(logger))) { - logger.warning("CodeQL versions 2.15.0 and lower are not supported on MacOS ARM machines with System Integrity Protection (SIP) disabled."); + logger.warning("CodeQL versions 2.15.0 and lower are not supported on macOS ARM machines with System Integrity Protection (SIP) disabled."); } // From 2.16.0 the default for the python extractor is to not perform any // dependency extraction. For versions before that, you needed to set this flag to diff --git a/lib/tracer-config.js b/lib/tracer-config.js index 5c17c34091..fd9c1b0edd 100644 --- a/lib/tracer-config.js +++ b/lib/tracer-config.js @@ -92,7 +92,7 @@ async function getCombinedTracerConfig(codeql, config) { // If the CLI doesn't yet support setting the CODEQL_RUNNER environment variable to // the runner executable path, we set it here in the Action. if (!(await codeql.supportsFeature(tools_features_1.ToolsFeature.SetsCodeqlRunnerEnvVar))) { - // On MacOS when System Integrity Protection is enabled, it's necessary to prefix + // On macOS when System Integrity Protection is enabled, it's necessary to prefix // the build command with the runner executable for indirect tracing, so we expose // it here via the CODEQL_RUNNER environment variable. // The executable also exists and works for other platforms so we unconditionally diff --git a/pr-checks/checks/multi-language-autodetect.yml b/pr-checks/checks/multi-language-autodetect.yml index e15e58195d..0990961bbc 100644 --- a/pr-checks/checks/multi-language-autodetect.yml +++ b/pr-checks/checks/multi-language-autodetect.yml @@ -1,5 +1,5 @@ name: "Multi-language repository" -description: "An end-to-end integration test of a multi-language repository using automatic language detection for MacOS" +description: "An end-to-end integration test of a multi-language repository using automatic language detection for macOS" operatingSystems: ["macos", "ubuntu"] steps: - uses: actions/setup-go@v5 @@ -67,7 +67,7 @@ steps: exit 1 fi - - name: Check language autodetect for Swift on MacOS + - name: Check language autodetect for Swift on macOS if: runner.os == 'macOS' shell: bash run: | diff --git a/pr-checks/sync.py b/pr-checks/sync.py index 2891268137..c7b6abfdfc 100755 --- a/pr-checks/sync.py +++ b/pr-checks/sync.py @@ -98,7 +98,7 @@ def writeHeader(checkStream): steps = [ { - 'name': 'Setup Python on MacOS', + 'name': 'Setup Python on macOS', 'uses': 'actions/setup-python@v5', 'if': "runner.os == 'macOS' && matrix.version == 'stable-v2.14.6'", 'with': { diff --git a/src/environment.ts b/src/environment.ts index 3431be731e..83f0919212 100644 --- a/src/environment.ts +++ b/src/environment.ts @@ -51,7 +51,7 @@ export enum EnvVar { INIT_ACTION_HAS_RUN = "CODEQL_ACTION_INIT_HAS_RUN", /** - * For MacOS. Result of `csrutil status` to determine whether System Integrity + * For macOS. Result of `csrutil status` to determine whether System Integrity * Protection is enabled. */ IS_SIP_ENABLED = "CODEQL_ACTION_IS_SIP_ENABLED", diff --git a/src/init-action.ts b/src/init-action.ts index 5ec6db0b3e..229873e1dd 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -566,7 +566,7 @@ async function run() { await downloadDependencyCaches(config.languages, logger); } - // For CLI versions <2.15.1, build tracing caused errors in MacOS ARM machines with + // For CLI versions <2.15.1, build tracing caused errors in macOS ARM machines with // System Integrity Protection (SIP) disabled. if ( !(await codeQlVersionAtLeast(codeql, "2.15.1")) && @@ -575,7 +575,7 @@ async function run() { !(await checkSipEnablement(logger)) ) { logger.warning( - "CodeQL versions 2.15.0 and lower are not supported on MacOS ARM machines with System Integrity Protection (SIP) disabled.", + "CodeQL versions 2.15.0 and lower are not supported on macOS ARM machines with System Integrity Protection (SIP) disabled.", ); } diff --git a/src/tracer-config.ts b/src/tracer-config.ts index bbe902a1a4..1473dd366a 100644 --- a/src/tracer-config.ts +++ b/src/tracer-config.ts @@ -111,7 +111,7 @@ export async function getCombinedTracerConfig( // If the CLI doesn't yet support setting the CODEQL_RUNNER environment variable to // the runner executable path, we set it here in the Action. if (!(await codeql.supportsFeature(ToolsFeature.SetsCodeqlRunnerEnvVar))) { - // On MacOS when System Integrity Protection is enabled, it's necessary to prefix + // On macOS when System Integrity Protection is enabled, it's necessary to prefix // the build command with the runner executable for indirect tracing, so we expose // it here via the CODEQL_RUNNER environment variable. // The executable also exists and works for other platforms so we unconditionally From d5e73848c49f7764fd7b8bf826748e767b955fd3 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 3 Nov 2024 01:40:18 -0400 Subject: [PATCH 3/6] Strip trailing whitespace generated by ruamel-yaml --- .github/workflows/debug-artifacts-failure.yml | 2 +- .github/workflows/debug-artifacts-legacy.yml | 2 +- .github/workflows/debug-artifacts.yml | 2 +- pr-checks/sync.py | 10 +++++++++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/debug-artifacts-failure.yml b/.github/workflows/debug-artifacts-failure.yml index bcc38d28aa..e6cddb0a87 100644 --- a/.github/workflows/debug-artifacts-failure.yml +++ b/.github/workflows/debug-artifacts-failure.yml @@ -50,7 +50,7 @@ jobs: run: ./build.sh - uses: ./../action/analyze id: analysis - env: + env: # Forces a failure in this step. CODEQL_ACTION_EXTRA_OPTIONS: '{ "database": { "finalize": ["--invalid-option"] } }' with: diff --git a/.github/workflows/debug-artifacts-legacy.yml b/.github/workflows/debug-artifacts-legacy.yml index 2f024964b5..3ea3074bf6 100644 --- a/.github/workflows/debug-artifacts-legacy.yml +++ b/.github/workflows/debug-artifacts-legacy.yml @@ -56,7 +56,7 @@ jobs: debug-artifact-name: my-debug-artifacts debug-database-name: my-db # We manually exclude Swift from the languages list here, as it is not supported on Ubuntu - languages: cpp,csharp,go,java,javascript,python,ruby + languages: cpp,csharp,go,java,javascript,python,ruby - name: Build code shell: bash run: ./build.sh diff --git a/.github/workflows/debug-artifacts.yml b/.github/workflows/debug-artifacts.yml index cd38ea506a..cfdf8e40d5 100644 --- a/.github/workflows/debug-artifacts.yml +++ b/.github/workflows/debug-artifacts.yml @@ -55,7 +55,7 @@ jobs: debug-artifact-name: my-debug-artifacts debug-database-name: my-db # We manually exclude Swift from the languages list here, as it is not supported on Ubuntu - languages: cpp,csharp,go,java,javascript,python,ruby + languages: cpp,csharp,go,java,javascript,python,ruby - name: Build code shell: bash run: ./build.sh diff --git a/pr-checks/sync.py b/pr-checks/sync.py index c7b6abfdfc..37b120b439 100755 --- a/pr-checks/sync.py +++ b/pr-checks/sync.py @@ -4,6 +4,7 @@ from ruamel.yaml.scalarstring import FoldedScalarString, SingleQuotedScalarString import pathlib import textwrap +import os # The default set of CodeQL Bundle versions to use for the PR checks. defaultTestVersions = [ @@ -153,7 +154,8 @@ def writeHeader(checkStream): checkJob['env']['CODEQL_ACTION_TEST_MODE'] = True checkName = file.stem - with open(this_dir.parent / ".github" / "workflows" / f"__{checkName}.yml", 'w') as output_stream: + raw_file = this_dir.parent / ".github" / "workflows" / f"__{checkName}.yml.raw" + with open(raw_file, 'w') as output_stream: writeHeader(output_stream) yaml.dump({ 'name': f"PR Check - {checkSpecification['name']}", @@ -175,3 +177,9 @@ def writeHeader(checkStream): checkName: checkJob } }, output_stream) + + with open(raw_file, 'r') as input_stream: + with open(this_dir.parent / ".github" / "workflows" / f"__{checkName}.yml", 'w') as output_stream: + content = input_stream.read() + output_stream.write("\n".join(list(map(lambda x:x.rstrip(), content.splitlines()))+[''])) + os.remove(raw_file) From 1e6d67b13813efa924b55655e325752fc41e4890 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 3 Nov 2024 01:11:33 -0400 Subject: [PATCH 4/6] Give expected-queries-runs permissions --- .github/workflows/expected-queries-runs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/expected-queries-runs.yml b/.github/workflows/expected-queries-runs.yml index f83d0711e1..e76c8920d8 100644 --- a/.github/workflows/expected-queries-runs.yml +++ b/.github/workflows/expected-queries-runs.yml @@ -22,6 +22,9 @@ jobs: CODEQL_ACTION_TEST_MODE: true timeout-minutes: 45 runs-on: ubuntu-latest + permissions: + contents: read + security-events: write steps: - name: Check out repository uses: actions/checkout@v4 From 688ea5370d3de84af47f851b307068890b8de8bf Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 3 Nov 2024 01:07:49 -0400 Subject: [PATCH 5/6] Fix publish-immutable-action version --- .github/workflows/publish-immutable-action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-immutable-action.yml b/.github/workflows/publish-immutable-action.yml index d7ef0a0372..df867187c9 100644 --- a/.github/workflows/publish-immutable-action.yml +++ b/.github/workflows/publish-immutable-action.yml @@ -32,4 +32,4 @@ jobs: - name: Publish if: steps.check.outputs.is-action-release == 'true' id: publish - uses: actions/publish-immutable-action@0.0.3 + uses: actions/publish-immutable-action@v0.0.4 From 3b7b85fbe86fa0c4cbfb2e855f588b595a95609e Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 3 Nov 2024 19:35:35 -0500 Subject: [PATCH 6/6] Conditionally clear runner cache This allows runners that don't have the cache to run these workflows. --- .github/workflows/__zstd-bundle-streaming.yml | 4 +++- .github/workflows/__zstd-bundle.yml | 4 +++- pr-checks/checks/zstd-bundle-streaming.yml | 4 +++- pr-checks/checks/zstd-bundle.yml | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/__zstd-bundle-streaming.yml b/.github/workflows/__zstd-bundle-streaming.yml index 8a143a2e86..6328bbeef3 100644 --- a/.github/workflows/__zstd-bundle-streaming.yml +++ b/.github/workflows/__zstd-bundle-streaming.yml @@ -59,7 +59,9 @@ jobs: const fs = require('fs'); const path = require('path'); const codeqlPath = path.join(process.env['RUNNER_TOOL_CACHE'], 'CodeQL'); - fs.rmdirSync(codeqlPath, { recursive: true }); + if (codeqlPath !== undefined) { + fs.rmdirSync(codeqlPath, { recursive: true }); + } - id: init uses: ./../action/init with: diff --git a/.github/workflows/__zstd-bundle.yml b/.github/workflows/__zstd-bundle.yml index da8a554426..9f30368559 100644 --- a/.github/workflows/__zstd-bundle.yml +++ b/.github/workflows/__zstd-bundle.yml @@ -61,7 +61,9 @@ jobs: const fs = require('fs'); const path = require('path'); const codeqlPath = path.join(process.env['RUNNER_TOOL_CACHE'], 'CodeQL'); - fs.rmdirSync(codeqlPath, { recursive: true }); + if (codeqlPath !== undefined) { + fs.rmdirSync(codeqlPath, { recursive: true }); + } - id: init uses: ./../action/init with: diff --git a/pr-checks/checks/zstd-bundle-streaming.yml b/pr-checks/checks/zstd-bundle-streaming.yml index 40937fa141..291f8d88bf 100644 --- a/pr-checks/checks/zstd-bundle-streaming.yml +++ b/pr-checks/checks/zstd-bundle-streaming.yml @@ -16,7 +16,9 @@ steps: const fs = require('fs'); const path = require('path'); const codeqlPath = path.join(process.env['RUNNER_TOOL_CACHE'], 'CodeQL'); - fs.rmdirSync(codeqlPath, { recursive: true }); + if (codeqlPath !== undefined) { + fs.rmdirSync(codeqlPath, { recursive: true }); + } - id: init uses: ./../action/init with: diff --git a/pr-checks/checks/zstd-bundle.yml b/pr-checks/checks/zstd-bundle.yml index a751b18bcb..9350c39f6f 100644 --- a/pr-checks/checks/zstd-bundle.yml +++ b/pr-checks/checks/zstd-bundle.yml @@ -16,7 +16,9 @@ steps: const fs = require('fs'); const path = require('path'); const codeqlPath = path.join(process.env['RUNNER_TOOL_CACHE'], 'CodeQL'); - fs.rmdirSync(codeqlPath, { recursive: true }); + if (codeqlPath !== undefined) { + fs.rmdirSync(codeqlPath, { recursive: true }); + } - id: init uses: ./../action/init with:
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: