From 28f25160407329ab737ab2c46160c16a28b2a0a2 Mon Sep 17 00:00:00 2001 From: Paolo Tranquilli Date: Mon, 11 Aug 2025 14:58:50 +0200 Subject: [PATCH 1/4] Improve Rust analysis PR check Also run the `rust` checks on "milestone" CLI releases, to ensure we remain backward compatible with those versions. This was prompted by https://github.com/github/codeql-action/pull/2960#pullrequestreview-3104730221 Running this on current `main` and then on that PR should improve our confidence we remain backward compatible. It also turns out a probable `ruamel.yaml` update was changing a lot of generated workflows, so I've: * fixed the `ruamel.yaml` version to the latest in `sync.sh` * added `yaml.width = 120` in `sync.py` to minimize (but not entirely remove) the number of changes * checked in the workflows whose formatting was changed by the new `ruamel.yaml` version --- .github/workflows/__multi-language-autodetect.yml | 3 +-- .github/workflows/__packaging-inputs-js.yml | 3 ++- .github/workflows/__resolve-environment-action.yml | 3 +-- .github/workflows/__rust.yml | 6 ++++-- .github/workflows/__start-proxy.yml | 7 +++---- pr-checks/checks/rust.yml | 9 ++++++--- pr-checks/sync.py | 1 + pr-checks/sync.sh | 2 +- 8 files changed, 19 insertions(+), 15 deletions(-) diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index 6847bc26e7..f57fd9753f 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -84,8 +84,7 @@ jobs: id: init with: db-location: ${{ runner.temp }}/customDbLocation - languages: ${{ runner.os == 'Linux' && 'cpp,csharp,go,java,javascript,python,ruby' - || '' }} + languages: ${{ runner.os == 'Linux' && 'cpp,csharp,go,java,javascript,python,ruby' || '' }} tools: ${{ steps.prepare-test.outputs.tools-url }} - uses: ./../action/.github/actions/setup-swift diff --git a/.github/workflows/__packaging-inputs-js.yml b/.github/workflows/__packaging-inputs-js.yml index 3c467484d2..dcc29c0109 100644 --- a/.github/workflows/__packaging-inputs-js.yml +++ b/.github/workflows/__packaging-inputs-js.yml @@ -70,7 +70,8 @@ jobs: with: config-file: .github/codeql/codeql-config-packaging2.yml languages: javascript - packs: codeql-testing/codeql-pack1@1.0.0, codeql-testing/codeql-pack2, codeql-testing/codeql-pack3:other-query.ql + packs: codeql-testing/codeql-pack1@1.0.0, codeql-testing/codeql-pack2, + codeql-testing/codeql-pack3:other-query.ql tools: ${{ steps.prepare-test.outputs.tools-url }} - name: Build code shell: bash diff --git a/.github/workflows/__resolve-environment-action.yml b/.github/workflows/__resolve-environment-action.yml index 632e71e65c..25d6c8a451 100644 --- a/.github/workflows/__resolve-environment-action.yml +++ b/.github/workflows/__resolve-environment-action.yml @@ -83,8 +83,7 @@ jobs: language: javascript-typescript - name: Fail if JavaScript/TypeScript configuration present - if: - fromJSON(steps.resolve-environment-js.outputs.environment).configuration.javascript + if: fromJSON(steps.resolve-environment-js.outputs.environment).configuration.javascript run: exit 1 env: CODEQL_ACTION_TEST_MODE: true diff --git a/.github/workflows/__rust.yml b/.github/workflows/__rust.yml index bd94bbfb96..9f7b805a2e 100644 --- a/.github/workflows/__rust.yml +++ b/.github/workflows/__rust.yml @@ -27,6 +27,10 @@ jobs: fail-fast: false matrix: include: + - os: ubuntu-latest + version: stable-v2.19.3 + - os: ubuntu-latest + version: stable-v2.22.1 - os: ubuntu-latest version: linked - os: ubuntu-latest @@ -53,8 +57,6 @@ jobs: with: languages: rust tools: ${{ steps.prepare-test.outputs.tools-url }} - env: - CODEQL_ACTION_RUST_ANALYSIS: true - uses: ./../action/analyze id: analysis with: diff --git a/.github/workflows/__start-proxy.yml b/.github/workflows/__start-proxy.yml index f2e9b64600..3d357031b6 100644 --- a/.github/workflows/__start-proxy.yml +++ b/.github/workflows/__start-proxy.yml @@ -58,8 +58,7 @@ jobs: id: proxy uses: ./../action/start-proxy with: - registry_secrets: '[{ "type": "nuget_feed", "url": "https://api.nuget.org/v3/index.json" - }]' + registry_secrets: '[{ "type": "nuget_feed", "url": "https://api.nuget.org/v3/index.json" }]' - name: Print proxy outputs run: | @@ -68,8 +67,8 @@ jobs: echo "${{ steps.proxy.outputs.proxy_urls }}" - name: Fail if proxy outputs are not set - if: (!steps.proxy.outputs.proxy_host) || (!steps.proxy.outputs.proxy_port) - || (!steps.proxy.outputs.proxy_ca_certificate) || (!steps.proxy.outputs.proxy_urls) + if: (!steps.proxy.outputs.proxy_host) || (!steps.proxy.outputs.proxy_port) || + (!steps.proxy.outputs.proxy_ca_certificate) || (!steps.proxy.outputs.proxy_urls) run: exit 1 env: CODEQL_ACTION_TEST_MODE: true diff --git a/pr-checks/checks/rust.yml b/pr-checks/checks/rust.yml index 0248bdb371..41681c0c92 100644 --- a/pr-checks/checks/rust.yml +++ b/pr-checks/checks/rust.yml @@ -1,14 +1,17 @@ name: "Rust analysis" description: "Tests creation of a Rust database" -versions: ["linked", "default", "nightly-latest"] +versions: + - stable-v2.19.3 # experimental rust support introduced, requires action to set `CODEQL_ENABLE_EXPERIMENTAL_FEATURES` + - stable-v2.22.1 # first public preview version + - linked + - default + - nightly-latest operatingSystems: ["ubuntu"] steps: - uses: ./../action/init with: languages: rust tools: ${{ steps.prepare-test.outputs.tools-url }} - env: - CODEQL_ACTION_RUST_ANALYSIS: true - uses: ./../action/analyze id: analysis with: diff --git a/pr-checks/sync.py b/pr-checks/sync.py index 61ec0bb1c5..7d8f1c5815 100755 --- a/pr-checks/sync.py +++ b/pr-checks/sync.py @@ -56,6 +56,7 @@ def writeHeader(checkStream): yaml = ruamel.yaml.YAML() yaml.Representer = NonAliasingRTRepresenter yaml.indent(mapping=2, sequence=4, offset=2) +yaml.width = 120 this_dir = pathlib.Path(__file__).resolve().parent diff --git a/pr-checks/sync.sh b/pr-checks/sync.sh index a2db197426..76de7a556d 100755 --- a/pr-checks/sync.sh +++ b/pr-checks/sync.sh @@ -4,6 +4,6 @@ set -e cd "$(dirname "$0")" python3 -m venv env source env/bin/activate -pip3 install ruamel.yaml +pip3 install ruamel.yaml==0.18.14 python3 sync.py From 2d7401b8878fa411683aaccf7e7e5169ee02d97d Mon Sep 17 00:00:00 2001 From: Paolo Tranquilli Date: Mon, 11 Aug 2025 15:34:17 +0200 Subject: [PATCH 2/4] Revert `ruamel.yaml` back to 0.17.31 And revert back related changes --- .github/workflows/__multi-language-autodetect.yml | 3 ++- .github/workflows/__packaging-inputs-js.yml | 3 +-- .github/workflows/__resolve-environment-action.yml | 3 ++- .github/workflows/__start-proxy.yml | 7 ++++--- pr-checks/sync.py | 1 - pr-checks/sync.sh | 2 +- 6 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index f57fd9753f..6847bc26e7 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -84,7 +84,8 @@ jobs: id: init with: db-location: ${{ runner.temp }}/customDbLocation - languages: ${{ runner.os == 'Linux' && 'cpp,csharp,go,java,javascript,python,ruby' || '' }} + languages: ${{ runner.os == 'Linux' && 'cpp,csharp,go,java,javascript,python,ruby' + || '' }} tools: ${{ steps.prepare-test.outputs.tools-url }} - uses: ./../action/.github/actions/setup-swift diff --git a/.github/workflows/__packaging-inputs-js.yml b/.github/workflows/__packaging-inputs-js.yml index dcc29c0109..3c467484d2 100644 --- a/.github/workflows/__packaging-inputs-js.yml +++ b/.github/workflows/__packaging-inputs-js.yml @@ -70,8 +70,7 @@ jobs: with: config-file: .github/codeql/codeql-config-packaging2.yml languages: javascript - packs: codeql-testing/codeql-pack1@1.0.0, codeql-testing/codeql-pack2, - codeql-testing/codeql-pack3:other-query.ql + packs: codeql-testing/codeql-pack1@1.0.0, codeql-testing/codeql-pack2, codeql-testing/codeql-pack3:other-query.ql tools: ${{ steps.prepare-test.outputs.tools-url }} - name: Build code shell: bash diff --git a/.github/workflows/__resolve-environment-action.yml b/.github/workflows/__resolve-environment-action.yml index 25d6c8a451..632e71e65c 100644 --- a/.github/workflows/__resolve-environment-action.yml +++ b/.github/workflows/__resolve-environment-action.yml @@ -83,7 +83,8 @@ jobs: language: javascript-typescript - name: Fail if JavaScript/TypeScript configuration present - if: fromJSON(steps.resolve-environment-js.outputs.environment).configuration.javascript + if: + fromJSON(steps.resolve-environment-js.outputs.environment).configuration.javascript run: exit 1 env: CODEQL_ACTION_TEST_MODE: true diff --git a/.github/workflows/__start-proxy.yml b/.github/workflows/__start-proxy.yml index 3d357031b6..f2e9b64600 100644 --- a/.github/workflows/__start-proxy.yml +++ b/.github/workflows/__start-proxy.yml @@ -58,7 +58,8 @@ jobs: id: proxy uses: ./../action/start-proxy with: - registry_secrets: '[{ "type": "nuget_feed", "url": "https://api.nuget.org/v3/index.json" }]' + registry_secrets: '[{ "type": "nuget_feed", "url": "https://api.nuget.org/v3/index.json" + }]' - name: Print proxy outputs run: | @@ -67,8 +68,8 @@ jobs: echo "${{ steps.proxy.outputs.proxy_urls }}" - name: Fail if proxy outputs are not set - if: (!steps.proxy.outputs.proxy_host) || (!steps.proxy.outputs.proxy_port) || - (!steps.proxy.outputs.proxy_ca_certificate) || (!steps.proxy.outputs.proxy_urls) + if: (!steps.proxy.outputs.proxy_host) || (!steps.proxy.outputs.proxy_port) + || (!steps.proxy.outputs.proxy_ca_certificate) || (!steps.proxy.outputs.proxy_urls) run: exit 1 env: CODEQL_ACTION_TEST_MODE: true diff --git a/pr-checks/sync.py b/pr-checks/sync.py index 7d8f1c5815..61ec0bb1c5 100755 --- a/pr-checks/sync.py +++ b/pr-checks/sync.py @@ -56,7 +56,6 @@ def writeHeader(checkStream): yaml = ruamel.yaml.YAML() yaml.Representer = NonAliasingRTRepresenter yaml.indent(mapping=2, sequence=4, offset=2) -yaml.width = 120 this_dir = pathlib.Path(__file__).resolve().parent diff --git a/pr-checks/sync.sh b/pr-checks/sync.sh index 76de7a556d..a2db197426 100755 --- a/pr-checks/sync.sh +++ b/pr-checks/sync.sh @@ -4,6 +4,6 @@ set -e cd "$(dirname "$0")" python3 -m venv env source env/bin/activate -pip3 install ruamel.yaml==0.18.14 +pip3 install ruamel.yaml python3 sync.py From 286b9e9d741131b96494464179616f846ee997be Mon Sep 17 00:00:00 2001 From: Paolo Tranquilli Date: Mon, 11 Aug 2025 15:38:32 +0200 Subject: [PATCH 3/4] Specify the `ruamel.yaml` version in one place only (`sync.sh`) --- .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/__extract-direct-to-toolcache.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 | 2 +- .../workflows/__packaging-codescanning-config-inputs-js.yml | 2 +- .github/workflows/__packaging-config-inputs-js.yml | 2 +- .github/workflows/__packaging-config-js.yml | 2 +- .github/workflows/__packaging-inputs-js.yml | 2 +- .github/workflows/__quality-queries.yml | 2 +- .github/workflows/__remote-config.yml | 2 +- .github/workflows/__resolve-environment-action.yml | 2 +- .github/workflows/__rubocop-multi-language.yml | 2 +- .github/workflows/__ruby.yml | 2 +- .github/workflows/__rust.yml | 2 +- .github/workflows/__split-workflow.yml | 2 +- .github/workflows/__start-proxy.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-quality-sarif.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 +- .github/workflows/pr-checks.yml | 6 ------ .github/workflows/script/verify-pr-checks.sh | 2 +- pr-checks/sync.py | 2 +- pr-checks/sync.sh | 2 +- 59 files changed, 58 insertions(+), 64 deletions(-) diff --git a/.github/workflows/__all-platform-bundle.yml b/.github/workflows/__all-platform-bundle.yml index 9a1ee56b34..ef28688e2a 100644 --- a/.github/workflows/__all-platform-bundle.yml +++ b/.github/workflows/__all-platform-bundle.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - All-platform bundle diff --git a/.github/workflows/__analyze-ref-input.yml b/.github/workflows/__analyze-ref-input.yml index 3a94ed3b2d..4f1a13e1ab 100644 --- a/.github/workflows/__analyze-ref-input.yml +++ b/.github/workflows/__analyze-ref-input.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: "PR Check - Analyze: 'ref' and 'sha' from inputs" diff --git a/.github/workflows/__autobuild-action.yml b/.github/workflows/__autobuild-action.yml index 080f9893a4..6d224dcefe 100644 --- a/.github/workflows/__autobuild-action.yml +++ b/.github/workflows/__autobuild-action.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - autobuild-action diff --git a/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml b/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml index 3ccdecda5f..561f9a2c26 100644 --- a/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml +++ b/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Autobuild direct tracing (custom working directory) diff --git a/.github/workflows/__autobuild-direct-tracing.yml b/.github/workflows/__autobuild-direct-tracing.yml index 90084856f6..47e169e736 100644 --- a/.github/workflows/__autobuild-direct-tracing.yml +++ b/.github/workflows/__autobuild-direct-tracing.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Autobuild direct tracing diff --git a/.github/workflows/__build-mode-autobuild.yml b/.github/workflows/__build-mode-autobuild.yml index 5219e619ca..96d44267b5 100644 --- a/.github/workflows/__build-mode-autobuild.yml +++ b/.github/workflows/__build-mode-autobuild.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Build mode autobuild diff --git a/.github/workflows/__build-mode-manual.yml b/.github/workflows/__build-mode-manual.yml index 953af3a8ea..d874c5a615 100644 --- a/.github/workflows/__build-mode-manual.yml +++ b/.github/workflows/__build-mode-manual.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Build mode manual diff --git a/.github/workflows/__build-mode-none.yml b/.github/workflows/__build-mode-none.yml index f2cccc577a..33bed5c3d0 100644 --- a/.github/workflows/__build-mode-none.yml +++ b/.github/workflows/__build-mode-none.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Build mode none diff --git a/.github/workflows/__build-mode-rollback.yml b/.github/workflows/__build-mode-rollback.yml index 3573aff7eb..bd3cc09ec9 100644 --- a/.github/workflows/__build-mode-rollback.yml +++ b/.github/workflows/__build-mode-rollback.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Build mode rollback diff --git a/.github/workflows/__cleanup-db-cluster-dir.yml b/.github/workflows/__cleanup-db-cluster-dir.yml index 1c1afd1fa9..1aa3498e1f 100644 --- a/.github/workflows/__cleanup-db-cluster-dir.yml +++ b/.github/workflows/__cleanup-db-cluster-dir.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Clean up database cluster directory diff --git a/.github/workflows/__config-export.yml b/.github/workflows/__config-export.yml index 536060cc45..dce6ac4872 100644 --- a/.github/workflows/__config-export.yml +++ b/.github/workflows/__config-export.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Config export diff --git a/.github/workflows/__config-input.yml b/.github/workflows/__config-input.yml index 6afbf58d75..0aa951ce5f 100644 --- a/.github/workflows/__config-input.yml +++ b/.github/workflows/__config-input.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Config input diff --git a/.github/workflows/__cpp-deptrace-disabled.yml b/.github/workflows/__cpp-deptrace-disabled.yml index 11668c95b0..6945764355 100644 --- a/.github/workflows/__cpp-deptrace-disabled.yml +++ b/.github/workflows/__cpp-deptrace-disabled.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: 'PR Check - C/C++: disabling autoinstalling dependencies (Linux)' diff --git a/.github/workflows/__cpp-deptrace-enabled-on-macos.yml b/.github/workflows/__cpp-deptrace-enabled-on-macos.yml index fa8dcf07af..f2ef979d84 100644 --- a/.github/workflows/__cpp-deptrace-enabled-on-macos.yml +++ b/.github/workflows/__cpp-deptrace-enabled-on-macos.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: 'PR Check - C/C++: autoinstalling dependencies is skipped (macOS)' diff --git a/.github/workflows/__cpp-deptrace-enabled.yml b/.github/workflows/__cpp-deptrace-enabled.yml index 87c665b5b8..f6789137f3 100644 --- a/.github/workflows/__cpp-deptrace-enabled.yml +++ b/.github/workflows/__cpp-deptrace-enabled.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: 'PR Check - C/C++: autoinstalling dependencies (Linux)' diff --git a/.github/workflows/__diagnostics-export.yml b/.github/workflows/__diagnostics-export.yml index 1137339478..c72c7ebecb 100644 --- a/.github/workflows/__diagnostics-export.yml +++ b/.github/workflows/__diagnostics-export.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Diagnostic export diff --git a/.github/workflows/__export-file-baseline-information.yml b/.github/workflows/__export-file-baseline-information.yml index 31de633f0a..84109b3dd1 100644 --- a/.github/workflows/__export-file-baseline-information.yml +++ b/.github/workflows/__export-file-baseline-information.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Export file baseline information diff --git a/.github/workflows/__extract-direct-to-toolcache.yml b/.github/workflows/__extract-direct-to-toolcache.yml index 34023f7054..d7e00da001 100644 --- a/.github/workflows/__extract-direct-to-toolcache.yml +++ b/.github/workflows/__extract-direct-to-toolcache.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Extract directly to toolcache diff --git a/.github/workflows/__extractor-ram-threads.yml b/.github/workflows/__extractor-ram-threads.yml index fd2cfd9e88..3ad86a0b51 100644 --- a/.github/workflows/__extractor-ram-threads.yml +++ b/.github/workflows/__extractor-ram-threads.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Extractor ram and threads options test diff --git a/.github/workflows/__go-custom-queries.yml b/.github/workflows/__go-custom-queries.yml index 7a6c551027..6e0336ebc4 100644 --- a/.github/workflows/__go-custom-queries.yml +++ b/.github/workflows/__go-custom-queries.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: 'PR Check - Go: Custom queries' diff --git a/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml b/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml index 6cf6f6f242..e64d55f6f0 100644 --- a/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml +++ b/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: 'PR Check - Go: diagnostic when Go is changed after init step' 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 3e005174f2..0cfe7033a8 100644 --- a/.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml +++ b/.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: 'PR Check - Go: diagnostic when `file` is not installed' diff --git a/.github/workflows/__go-indirect-tracing-workaround.yml b/.github/workflows/__go-indirect-tracing-workaround.yml index c47bc56b90..3f312343f1 100644 --- a/.github/workflows/__go-indirect-tracing-workaround.yml +++ b/.github/workflows/__go-indirect-tracing-workaround.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: 'PR Check - Go: workaround for indirect tracing' diff --git a/.github/workflows/__go-tracing-autobuilder.yml b/.github/workflows/__go-tracing-autobuilder.yml index 2c52eacac2..e464ca6ac8 100644 --- a/.github/workflows/__go-tracing-autobuilder.yml +++ b/.github/workflows/__go-tracing-autobuilder.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: 'PR Check - Go: tracing with autobuilder step' diff --git a/.github/workflows/__go-tracing-custom-build-steps.yml b/.github/workflows/__go-tracing-custom-build-steps.yml index 4192af3144..28206a75e5 100644 --- a/.github/workflows/__go-tracing-custom-build-steps.yml +++ b/.github/workflows/__go-tracing-custom-build-steps.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: 'PR Check - Go: tracing with custom build steps' diff --git a/.github/workflows/__go-tracing-legacy-workflow.yml b/.github/workflows/__go-tracing-legacy-workflow.yml index bc748bf384..51506f8530 100644 --- a/.github/workflows/__go-tracing-legacy-workflow.yml +++ b/.github/workflows/__go-tracing-legacy-workflow.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: 'PR Check - Go: tracing with legacy workflow' diff --git a/.github/workflows/__init-with-registries.yml b/.github/workflows/__init-with-registries.yml index f19328aab7..d622696cc5 100644 --- a/.github/workflows/__init-with-registries.yml +++ b/.github/workflows/__init-with-registries.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: 'PR Check - Packaging: Download using registries' diff --git a/.github/workflows/__javascript-source-root.yml b/.github/workflows/__javascript-source-root.yml index ba2ccd1b5d..432756b4d6 100644 --- a/.github/workflows/__javascript-source-root.yml +++ b/.github/workflows/__javascript-source-root.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Custom source root diff --git a/.github/workflows/__job-run-uuid-sarif.yml b/.github/workflows/__job-run-uuid-sarif.yml index 1529a72346..6948876c3e 100644 --- a/.github/workflows/__job-run-uuid-sarif.yml +++ b/.github/workflows/__job-run-uuid-sarif.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Job run UUID added to SARIF diff --git a/.github/workflows/__language-aliases.yml b/.github/workflows/__language-aliases.yml index 0a77e4154c..1d6f4b7427 100644 --- a/.github/workflows/__language-aliases.yml +++ b/.github/workflows/__language-aliases.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Language aliases diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index 6847bc26e7..3f201592c1 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Multi-language repository diff --git a/.github/workflows/__packaging-codescanning-config-inputs-js.yml b/.github/workflows/__packaging-codescanning-config-inputs-js.yml index 0106bbdbf4..0d683faae9 100644 --- a/.github/workflows/__packaging-codescanning-config-inputs-js.yml +++ b/.github/workflows/__packaging-codescanning-config-inputs-js.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: 'PR Check - Packaging: Config and input passed to the CLI' diff --git a/.github/workflows/__packaging-config-inputs-js.yml b/.github/workflows/__packaging-config-inputs-js.yml index 2488807707..559c445bf9 100644 --- a/.github/workflows/__packaging-config-inputs-js.yml +++ b/.github/workflows/__packaging-config-inputs-js.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: 'PR Check - Packaging: Config and input' diff --git a/.github/workflows/__packaging-config-js.yml b/.github/workflows/__packaging-config-js.yml index 620406f77f..b78f87b0f5 100644 --- a/.github/workflows/__packaging-config-js.yml +++ b/.github/workflows/__packaging-config-js.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: 'PR Check - Packaging: Config file' diff --git a/.github/workflows/__packaging-inputs-js.yml b/.github/workflows/__packaging-inputs-js.yml index 3c467484d2..2498ae88fd 100644 --- a/.github/workflows/__packaging-inputs-js.yml +++ b/.github/workflows/__packaging-inputs-js.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: 'PR Check - Packaging: Action input' diff --git a/.github/workflows/__quality-queries.yml b/.github/workflows/__quality-queries.yml index 0da9d80ee5..99390ac0fd 100644 --- a/.github/workflows/__quality-queries.yml +++ b/.github/workflows/__quality-queries.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Quality queries input diff --git a/.github/workflows/__remote-config.yml b/.github/workflows/__remote-config.yml index 6041b0fb45..a84450aa37 100644 --- a/.github/workflows/__remote-config.yml +++ b/.github/workflows/__remote-config.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Remote config file diff --git a/.github/workflows/__resolve-environment-action.yml b/.github/workflows/__resolve-environment-action.yml index 632e71e65c..15d6119a83 100644 --- a/.github/workflows/__resolve-environment-action.yml +++ b/.github/workflows/__resolve-environment-action.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Resolve environment diff --git a/.github/workflows/__rubocop-multi-language.yml b/.github/workflows/__rubocop-multi-language.yml index 8e0121d86f..57a25a2c17 100644 --- a/.github/workflows/__rubocop-multi-language.yml +++ b/.github/workflows/__rubocop-multi-language.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - RuboCop multi-language diff --git a/.github/workflows/__ruby.yml b/.github/workflows/__ruby.yml index ff9769c01a..597778f770 100644 --- a/.github/workflows/__ruby.yml +++ b/.github/workflows/__ruby.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Ruby analysis diff --git a/.github/workflows/__rust.yml b/.github/workflows/__rust.yml index 9f7b805a2e..798516c569 100644 --- a/.github/workflows/__rust.yml +++ b/.github/workflows/__rust.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Rust analysis diff --git a/.github/workflows/__split-workflow.yml b/.github/workflows/__split-workflow.yml index fe7f0dad63..2b77027fd6 100644 --- a/.github/workflows/__split-workflow.yml +++ b/.github/workflows/__split-workflow.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Split workflow diff --git a/.github/workflows/__start-proxy.yml b/.github/workflows/__start-proxy.yml index f2e9b64600..84deff2f53 100644 --- a/.github/workflows/__start-proxy.yml +++ b/.github/workflows/__start-proxy.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Start proxy diff --git a/.github/workflows/__submit-sarif-failure.yml b/.github/workflows/__submit-sarif-failure.yml index 4c37ac0ab4..93c7462fd6 100644 --- a/.github/workflows/__submit-sarif-failure.yml +++ b/.github/workflows/__submit-sarif-failure.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Submit SARIF after failure diff --git a/.github/workflows/__swift-autobuild.yml b/.github/workflows/__swift-autobuild.yml index 7be7c0b339..4eaf9a25a5 100644 --- a/.github/workflows/__swift-autobuild.yml +++ b/.github/workflows/__swift-autobuild.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Swift analysis using autobuild diff --git a/.github/workflows/__swift-custom-build.yml b/.github/workflows/__swift-custom-build.yml index b2ee00c490..82d5e76a2c 100644 --- a/.github/workflows/__swift-custom-build.yml +++ b/.github/workflows/__swift-custom-build.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Swift analysis using a custom build command diff --git a/.github/workflows/__test-autobuild-working-dir.yml b/.github/workflows/__test-autobuild-working-dir.yml index 52fd8c1ab9..f3aae51075 100644 --- a/.github/workflows/__test-autobuild-working-dir.yml +++ b/.github/workflows/__test-autobuild-working-dir.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Autobuild working directory diff --git a/.github/workflows/__test-local-codeql.yml b/.github/workflows/__test-local-codeql.yml index 3f565ca628..5ce47823be 100644 --- a/.github/workflows/__test-local-codeql.yml +++ b/.github/workflows/__test-local-codeql.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Local CodeQL bundle diff --git a/.github/workflows/__test-proxy.yml b/.github/workflows/__test-proxy.yml index f542d4d4d4..893df10f26 100644 --- a/.github/workflows/__test-proxy.yml +++ b/.github/workflows/__test-proxy.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Proxy test diff --git a/.github/workflows/__unset-environment.yml b/.github/workflows/__unset-environment.yml index 2464da7aed..dd80c93d34 100644 --- a/.github/workflows/__unset-environment.yml +++ b/.github/workflows/__unset-environment.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Test unsetting environment variables diff --git a/.github/workflows/__upload-quality-sarif.yml b/.github/workflows/__upload-quality-sarif.yml index ea19c2879c..0c559884f3 100644 --- a/.github/workflows/__upload-quality-sarif.yml +++ b/.github/workflows/__upload-quality-sarif.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: 'PR Check - Upload-sarif: code quality endpoint' diff --git a/.github/workflows/__upload-ref-sha-input.yml b/.github/workflows/__upload-ref-sha-input.yml index e7ec0542b4..28f5ec5738 100644 --- a/.github/workflows/__upload-ref-sha-input.yml +++ b/.github/workflows/__upload-ref-sha-input.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: "PR Check - Upload-sarif: 'ref' and 'sha' from inputs" diff --git a/.github/workflows/__with-checkout-path.yml b/.github/workflows/__with-checkout-path.yml index 3be22ef2b7..3287520c90 100644 --- a/.github/workflows/__with-checkout-path.yml +++ b/.github/workflows/__with-checkout-path.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Use a custom `checkout_path` diff --git a/.github/workflows/__zstd-bundle-streaming.yml b/.github/workflows/__zstd-bundle-streaming.yml index 0a5b39d09c..067d6cef66 100644 --- a/.github/workflows/__zstd-bundle-streaming.yml +++ b/.github/workflows/__zstd-bundle-streaming.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Zstandard bundle (streaming) diff --git a/.github/workflows/__zstd-bundle.yml b/.github/workflows/__zstd-bundle.yml index a8065cb977..c2d6626ff9 100644 --- a/.github/workflows/__zstd-bundle.yml +++ b/.github/workflows/__zstd-bundle.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. name: PR Check - Zstandard bundle diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 18ff782489..41b5762863 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -67,12 +67,6 @@ jobs: with: python-version: 3.11 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - # When updating this, update the autogenerated code header in `sync.py` too. - pip install ruamel.yaml==0.17.31 - # Ensure the generated PR check workflows are up to date. - name: Verify PR checks up to date run: .github/workflows/script/verify-pr-checks.sh diff --git a/.github/workflows/script/verify-pr-checks.sh b/.github/workflows/script/verify-pr-checks.sh index 3ee84a1b95..cf9e79bada 100755 --- a/.github/workflows/script/verify-pr-checks.sh +++ b/.github/workflows/script/verify-pr-checks.sh @@ -12,7 +12,7 @@ fi rm -rf .github/workflows/__* # Generate the PR checks -cd pr-checks && python3 sync.py +pr-checks/sync.sh # Check that repo is still clean if [ ! -z "$(git status --porcelain)" ]; then diff --git a/pr-checks/sync.py b/pr-checks/sync.py index 61ec0bb1c5..01f63a2b45 100755 --- a/pr-checks/sync.py +++ b/pr-checks/sync.py @@ -38,7 +38,7 @@ def is_os_and_version_excluded(os, version, exclude_params): # `.github/workflows/pr-checks.yml` too. header = """# Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# pr-checks/sync.sh # to regenerate this file. """ diff --git a/pr-checks/sync.sh b/pr-checks/sync.sh index a2db197426..016e509399 100755 --- a/pr-checks/sync.sh +++ b/pr-checks/sync.sh @@ -4,6 +4,6 @@ set -e cd "$(dirname "$0")" python3 -m venv env source env/bin/activate -pip3 install ruamel.yaml +pip3 install ruamel.yaml==0.17.31 python3 sync.py From bf1dd6901d5ef57875343b8fcc347a8a1c39be60 Mon Sep 17 00:00:00 2001 From: Paolo Tranquilli Date: Mon, 11 Aug 2025 15:44:35 +0200 Subject: [PATCH 4/4] Move comments up in `rust.yml` --- pr-checks/checks/rust.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pr-checks/checks/rust.yml b/pr-checks/checks/rust.yml index 41681c0c92..fa014806be 100644 --- a/pr-checks/checks/rust.yml +++ b/pr-checks/checks/rust.yml @@ -1,8 +1,10 @@ name: "Rust analysis" description: "Tests creation of a Rust database" versions: - - stable-v2.19.3 # experimental rust support introduced, requires action to set `CODEQL_ENABLE_EXPERIMENTAL_FEATURES` - - stable-v2.22.1 # first public preview version + # experimental rust support introduced, requires action to set `CODEQL_ENABLE_EXPERIMENTAL_FEATURES` + - stable-v2.19.3 + # first public preview version + - stable-v2.22.1 - linked - default - nightly-latest