diff --git a/.github/workflows/__all-platform-bundle.yml b/.github/workflows/__all-platform-bundle.yml index 6715b0f771..301654cbbd 100644 --- a/.github/workflows/__all-platform-bundle.yml +++ b/.github/workflows/__all-platform-bundle.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__all.yml b/.github/workflows/__all.yml new file mode 100644 index 0000000000..0b7cfe0538 --- /dev/null +++ b/.github/workflows/__all.yml @@ -0,0 +1,449 @@ +# Warning: This file is generated automatically, and should not be modified. +# Instead, please modify the template in the pr-checks directory and run: +# pr-checks/sync.sh +# to regenerate this file. + +name: Manual Check - all +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GO111MODULE: auto +on: + push: + paths: + - .github/workflows/__all.yml + workflow_dispatch: + inputs: + go-version: + type: string + description: The version of Go to install + required: false + default: '>=1.21.0' + java-version: + type: string + description: The version of Java to install + required: false + default: '17' + workflow_call: + inputs: + go-version: + type: string + description: The version of Go to install + required: false + default: '>=1.21.0' + java-version: + type: string + description: The version of Java to install + required: false + default: '17' +jobs: + all-platform-bundle: + name: All-platform bundle + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__all-platform-bundle.yml + with: + go-version: ${{ inputs.go-version }} + analyze-ref-input: + name: "Analyze: 'ref' and 'sha' from inputs" + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__analyze-ref-input.yml + with: + go-version: ${{ inputs.go-version }} + autobuild-action: + name: autobuild-action + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__autobuild-action.yml + with: {} + autobuild-direct-tracing-with-working-dir: + name: Autobuild direct tracing (custom working directory) + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__autobuild-direct-tracing-with-working-dir.yml + with: + java-version: ${{ inputs.java-version }} + autobuild-direct-tracing: + name: Autobuild direct tracing + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__autobuild-direct-tracing.yml + with: + java-version: ${{ inputs.java-version }} + build-mode-autobuild: + name: Build mode autobuild + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__build-mode-autobuild.yml + with: {} + build-mode-manual: + name: Build mode manual + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__build-mode-manual.yml + with: + go-version: ${{ inputs.go-version }} + build-mode-none: + name: Build mode none + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__build-mode-none.yml + with: {} + build-mode-rollback: + name: Build mode rollback + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__build-mode-rollback.yml + with: {} + bundle-toolcache: + name: 'Bundle: Caching checks' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__bundle-toolcache.yml + with: {} + bundle-zstd: + name: 'Bundle: Zstandard checks' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__bundle-zstd.yml + with: {} + cleanup-db-cluster-dir: + name: Clean up database cluster directory + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__cleanup-db-cluster-dir.yml + with: {} + config-export: + name: Config export + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__config-export.yml + with: {} + config-input: + name: Config input + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__config-input.yml + with: {} + cpp-deptrace-disabled: + name: 'C/C++: disabling autoinstalling dependencies (Linux)' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__cpp-deptrace-disabled.yml + with: {} + cpp-deptrace-enabled-on-macos: + name: 'C/C++: autoinstalling dependencies is skipped (macOS)' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__cpp-deptrace-enabled-on-macos.yml + with: {} + cpp-deptrace-enabled: + name: 'C/C++: autoinstalling dependencies (Linux)' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__cpp-deptrace-enabled.yml + with: {} + diagnostics-export: + name: Diagnostic export + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__diagnostics-export.yml + with: {} + export-file-baseline-information: + name: Export file baseline information + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__export-file-baseline-information.yml + with: + go-version: ${{ inputs.go-version }} + extractor-ram-threads: + name: Extractor ram and threads options test + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__extractor-ram-threads.yml + with: {} + go-custom-queries: + name: 'Go: Custom queries' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__go-custom-queries.yml + with: + go-version: ${{ inputs.go-version }} + go-indirect-tracing-workaround-diagnostic: + name: 'Go: diagnostic when Go is changed after init step' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml + with: + go-version: ${{ inputs.go-version }} + go-indirect-tracing-workaround-no-file-program: + name: 'Go: diagnostic when `file` is not installed' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml + with: + go-version: ${{ inputs.go-version }} + go-indirect-tracing-workaround: + name: 'Go: workaround for indirect tracing' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__go-indirect-tracing-workaround.yml + with: + go-version: ${{ inputs.go-version }} + go-tracing-autobuilder: + name: 'Go: tracing with autobuilder step' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__go-tracing-autobuilder.yml + with: + go-version: ${{ inputs.go-version }} + go-tracing-custom-build-steps: + name: 'Go: tracing with custom build steps' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__go-tracing-custom-build-steps.yml + with: + go-version: ${{ inputs.go-version }} + go-tracing-legacy-workflow: + name: 'Go: tracing with legacy workflow' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__go-tracing-legacy-workflow.yml + with: + go-version: ${{ inputs.go-version }} + init-with-registries: + name: 'Packaging: Download using registries' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__init-with-registries.yml + with: {} + javascript-source-root: + name: Custom source root + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__javascript-source-root.yml + with: {} + job-run-uuid-sarif: + name: Job run UUID added to SARIF + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__job-run-uuid-sarif.yml + with: {} + language-aliases: + name: Language aliases + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__language-aliases.yml + with: {} + multi-language-autodetect: + name: Multi-language repository + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__multi-language-autodetect.yml + with: + go-version: ${{ inputs.go-version }} + overlay-init-fallback: + name: Overlay database init fallback + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__overlay-init-fallback.yml + with: {} + packaging-codescanning-config-inputs-js: + name: 'Packaging: Config and input passed to the CLI' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__packaging-codescanning-config-inputs-js.yml + with: + go-version: ${{ inputs.go-version }} + packaging-config-inputs-js: + name: 'Packaging: Config and input' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__packaging-config-inputs-js.yml + with: + go-version: ${{ inputs.go-version }} + packaging-config-js: + name: 'Packaging: Config file' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__packaging-config-js.yml + with: + go-version: ${{ inputs.go-version }} + packaging-inputs-js: + name: 'Packaging: Action input' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__packaging-inputs-js.yml + with: + go-version: ${{ inputs.go-version }} + quality-queries: + name: Quality queries input + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__quality-queries.yml + with: {} + remote-config: + name: Remote config file + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__remote-config.yml + with: + go-version: ${{ inputs.go-version }} + resolve-environment-action: + name: Resolve environment + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__resolve-environment-action.yml + with: {} + rubocop-multi-language: + name: RuboCop multi-language + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__rubocop-multi-language.yml + with: {} + ruby: + name: Ruby analysis + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__ruby.yml + with: {} + rust: + name: Rust analysis + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__rust.yml + with: {} + split-workflow: + name: Split workflow + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__split-workflow.yml + with: + go-version: ${{ inputs.go-version }} + start-proxy: + name: Start proxy + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__start-proxy.yml + with: {} + submit-sarif-failure: + name: Submit SARIF after failure + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__submit-sarif-failure.yml + with: {} + swift-autobuild: + name: Swift analysis using autobuild + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__swift-autobuild.yml + with: {} + swift-custom-build: + name: Swift analysis using a custom build command + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__swift-custom-build.yml + with: + go-version: ${{ inputs.go-version }} + test-autobuild-working-dir: + name: Autobuild working directory + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__test-autobuild-working-dir.yml + with: {} + test-local-codeql: + name: Local CodeQL bundle + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__test-local-codeql.yml + with: + go-version: ${{ inputs.go-version }} + test-proxy: + name: Proxy test + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__test-proxy.yml + with: {} + unset-environment: + name: Test unsetting environment variables + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__unset-environment.yml + with: + go-version: ${{ inputs.go-version }} + upload-quality-sarif: + name: 'Upload-sarif: code quality endpoint' + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__upload-quality-sarif.yml + with: + go-version: ${{ inputs.go-version }} + upload-ref-sha-input: + name: "Upload-sarif: 'ref' and 'sha' from inputs" + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__upload-ref-sha-input.yml + with: + go-version: ${{ inputs.go-version }} + with-checkout-path: + name: Use a custom `checkout_path` + permissions: + contents: read + security-events: read + uses: ./.github/workflows/__with-checkout-path.yml + with: + go-version: ${{ inputs.go-version }} diff --git a/.github/workflows/__analyze-ref-input.yml b/.github/workflows/__analyze-ref-input.yml index c7fb30b0f2..74ac4347f4 100644 --- a/.github/workflows/__analyze-ref-input.yml +++ b/.github/workflows/__analyze-ref-input.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__autobuild-action.yml b/.github/workflows/__autobuild-action.yml index 2e70fb8539..692ea64fc7 100644 --- a/.github/workflows/__autobuild-action.yml +++ b/.github/workflows/__autobuild-action.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml b/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml index cc5af81562..883bdab286 100644 --- a/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml +++ b/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__autobuild-direct-tracing.yml b/.github/workflows/__autobuild-direct-tracing.yml index 76b4f39064..f6f9ae2772 100644 --- a/.github/workflows/__autobuild-direct-tracing.yml +++ b/.github/workflows/__autobuild-direct-tracing.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__build-mode-autobuild.yml b/.github/workflows/__build-mode-autobuild.yml index 5253c4bf5c..6ee97a9587 100644 --- a/.github/workflows/__build-mode-autobuild.yml +++ b/.github/workflows/__build-mode-autobuild.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__build-mode-manual.yml b/.github/workflows/__build-mode-manual.yml index 82256f969a..7005b38cb6 100644 --- a/.github/workflows/__build-mode-manual.yml +++ b/.github/workflows/__build-mode-manual.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__build-mode-none.yml b/.github/workflows/__build-mode-none.yml index d079cc7641..fcbf6955b2 100644 --- a/.github/workflows/__build-mode-none.yml +++ b/.github/workflows/__build-mode-none.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__build-mode-rollback.yml b/.github/workflows/__build-mode-rollback.yml index 3fc7530cc9..c894698ec9 100644 --- a/.github/workflows/__build-mode-rollback.yml +++ b/.github/workflows/__build-mode-rollback.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__bundle-toolcache.yml b/.github/workflows/__bundle-toolcache.yml index dcb1a9d478..ef5dd57412 100644 --- a/.github/workflows/__bundle-toolcache.yml +++ b/.github/workflows/__bundle-toolcache.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__bundle-zstd.yml b/.github/workflows/__bundle-zstd.yml index 1c10f26128..fe19b63494 100644 --- a/.github/workflows/__bundle-zstd.yml +++ b/.github/workflows/__bundle-zstd.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__cleanup-db-cluster-dir.yml b/.github/workflows/__cleanup-db-cluster-dir.yml index 1b7564c74a..b137f14dcb 100644 --- a/.github/workflows/__cleanup-db-cluster-dir.yml +++ b/.github/workflows/__cleanup-db-cluster-dir.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__config-export.yml b/.github/workflows/__config-export.yml index f43d1c6a4f..534df3c813 100644 --- a/.github/workflows/__config-export.yml +++ b/.github/workflows/__config-export.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__config-input.yml b/.github/workflows/__config-input.yml index 0cd73d0d8d..8ddf659692 100644 --- a/.github/workflows/__config-input.yml +++ b/.github/workflows/__config-input.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__cpp-deptrace-disabled.yml b/.github/workflows/__cpp-deptrace-disabled.yml index 0c3f203c48..23cb1ca7a8 100644 --- a/.github/workflows/__cpp-deptrace-disabled.yml +++ b/.github/workflows/__cpp-deptrace-disabled.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__cpp-deptrace-enabled-on-macos.yml b/.github/workflows/__cpp-deptrace-enabled-on-macos.yml index 161d4d4e05..3e5a7fd30d 100644 --- a/.github/workflows/__cpp-deptrace-enabled-on-macos.yml +++ b/.github/workflows/__cpp-deptrace-enabled-on-macos.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__cpp-deptrace-enabled.yml b/.github/workflows/__cpp-deptrace-enabled.yml index f4526f9a15..f7435e6aaf 100644 --- a/.github/workflows/__cpp-deptrace-enabled.yml +++ b/.github/workflows/__cpp-deptrace-enabled.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__diagnostics-export.yml b/.github/workflows/__diagnostics-export.yml index e89c5ce831..1e40509d74 100644 --- a/.github/workflows/__diagnostics-export.yml +++ b/.github/workflows/__diagnostics-export.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__export-file-baseline-information.yml b/.github/workflows/__export-file-baseline-information.yml index 6dd51c3e22..bf6d56dd04 100644 --- a/.github/workflows/__export-file-baseline-information.yml +++ b/.github/workflows/__export-file-baseline-information.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__extractor-ram-threads.yml b/.github/workflows/__extractor-ram-threads.yml index 486b1cc6a8..e4427fddd3 100644 --- a/.github/workflows/__extractor-ram-threads.yml +++ b/.github/workflows/__extractor-ram-threads.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__go-custom-queries.yml b/.github/workflows/__go-custom-queries.yml index 9f815b237f..4462a6147d 100644 --- a/.github/workflows/__go-custom-queries.yml +++ b/.github/workflows/__go-custom-queries.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml b/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml index 2208a9590d..f0608d7c1b 100644 --- a/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml +++ b/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: 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 63772b5ddc..3ff36a45c6 100644 --- a/.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml +++ b/.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__go-indirect-tracing-workaround.yml b/.github/workflows/__go-indirect-tracing-workaround.yml index c702b83354..fb5c1aaffc 100644 --- a/.github/workflows/__go-indirect-tracing-workaround.yml +++ b/.github/workflows/__go-indirect-tracing-workaround.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__go-tracing-autobuilder.yml b/.github/workflows/__go-tracing-autobuilder.yml index 3159b86e4c..6db3675f65 100644 --- a/.github/workflows/__go-tracing-autobuilder.yml +++ b/.github/workflows/__go-tracing-autobuilder.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__go-tracing-custom-build-steps.yml b/.github/workflows/__go-tracing-custom-build-steps.yml index 1e7253fe0d..a8eeb1ef2a 100644 --- a/.github/workflows/__go-tracing-custom-build-steps.yml +++ b/.github/workflows/__go-tracing-custom-build-steps.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__go-tracing-legacy-workflow.yml b/.github/workflows/__go-tracing-legacy-workflow.yml index 463e2c680b..4ae6227906 100644 --- a/.github/workflows/__go-tracing-legacy-workflow.yml +++ b/.github/workflows/__go-tracing-legacy-workflow.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__go.yml b/.github/workflows/__go.yml index e8bf8837e4..5b4727d66b 100644 --- a/.github/workflows/__go.yml +++ b/.github/workflows/__go.yml @@ -18,6 +18,13 @@ on: description: The version of Go to install required: false default: '>=1.21.0' + workflow_call: + inputs: + go-version: + type: string + description: The version of Go to install + required: false + default: '>=1.21.0' jobs: go-custom-queries: name: 'Go: Custom queries' diff --git a/.github/workflows/__init-with-registries.yml b/.github/workflows/__init-with-registries.yml index d8bc2dc090..73f9bd07c1 100644 --- a/.github/workflows/__init-with-registries.yml +++ b/.github/workflows/__init-with-registries.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__javascript-source-root.yml b/.github/workflows/__javascript-source-root.yml index 873e068448..1ce4fcad6c 100644 --- a/.github/workflows/__javascript-source-root.yml +++ b/.github/workflows/__javascript-source-root.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__job-run-uuid-sarif.yml b/.github/workflows/__job-run-uuid-sarif.yml index 410c73f8fd..3930760cf7 100644 --- a/.github/workflows/__job-run-uuid-sarif.yml +++ b/.github/workflows/__job-run-uuid-sarif.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__language-aliases.yml b/.github/workflows/__language-aliases.yml index 8ed3897a21..83d9757a04 100644 --- a/.github/workflows/__language-aliases.yml +++ b/.github/workflows/__language-aliases.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index 9fe00c6095..03a7b50fe8 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__overlay-init-fallback.yml b/.github/workflows/__overlay-init-fallback.yml index ffaa6c5f8e..3db731e6eb 100644 --- a/.github/workflows/__overlay-init-fallback.yml +++ b/.github/workflows/__overlay-init-fallback.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__packaging-codescanning-config-inputs-js.yml b/.github/workflows/__packaging-codescanning-config-inputs-js.yml index f237529479..afb57c6a29 100644 --- a/.github/workflows/__packaging-codescanning-config-inputs-js.yml +++ b/.github/workflows/__packaging-codescanning-config-inputs-js.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__packaging-config-inputs-js.yml b/.github/workflows/__packaging-config-inputs-js.yml index 3f50849c86..a23ba6126b 100644 --- a/.github/workflows/__packaging-config-inputs-js.yml +++ b/.github/workflows/__packaging-config-inputs-js.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__packaging-config-js.yml b/.github/workflows/__packaging-config-js.yml index 79ec372226..cc52fa7cec 100644 --- a/.github/workflows/__packaging-config-js.yml +++ b/.github/workflows/__packaging-config-js.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__packaging-inputs-js.yml b/.github/workflows/__packaging-inputs-js.yml index ea7da1aabe..903b0bdc78 100644 --- a/.github/workflows/__packaging-inputs-js.yml +++ b/.github/workflows/__packaging-inputs-js.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__quality-queries.yml b/.github/workflows/__quality-queries.yml index 53e1974360..92e5d003a1 100644 --- a/.github/workflows/__quality-queries.yml +++ b/.github/workflows/__quality-queries.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__remote-config.yml b/.github/workflows/__remote-config.yml index d83f4d43d9..830f90a93a 100644 --- a/.github/workflows/__remote-config.yml +++ b/.github/workflows/__remote-config.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__resolve-environment-action.yml b/.github/workflows/__resolve-environment-action.yml index 4df9f29d6f..b82b6860d4 100644 --- a/.github/workflows/__resolve-environment-action.yml +++ b/.github/workflows/__resolve-environment-action.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__rubocop-multi-language.yml b/.github/workflows/__rubocop-multi-language.yml index 7e2fa6474e..226160302f 100644 --- a/.github/workflows/__rubocop-multi-language.yml +++ b/.github/workflows/__rubocop-multi-language.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__ruby.yml b/.github/workflows/__ruby.yml index 27a166b6a5..3b0b598c2c 100644 --- a/.github/workflows/__ruby.yml +++ b/.github/workflows/__ruby.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__rust.yml b/.github/workflows/__rust.yml index da7d73a173..de1a1e367e 100644 --- a/.github/workflows/__rust.yml +++ b/.github/workflows/__rust.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__split-workflow.yml b/.github/workflows/__split-workflow.yml index 841e6b946f..be8fa6dd4b 100644 --- a/.github/workflows/__split-workflow.yml +++ b/.github/workflows/__split-workflow.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__start-proxy.yml b/.github/workflows/__start-proxy.yml index 52a5816142..7835682571 100644 --- a/.github/workflows/__start-proxy.yml +++ b/.github/workflows/__start-proxy.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__submit-sarif-failure.yml b/.github/workflows/__submit-sarif-failure.yml index d6547821c5..37b4783d70 100644 --- a/.github/workflows/__submit-sarif-failure.yml +++ b/.github/workflows/__submit-sarif-failure.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__swift-autobuild.yml b/.github/workflows/__swift-autobuild.yml index 116ae58375..fa566b361e 100644 --- a/.github/workflows/__swift-autobuild.yml +++ b/.github/workflows/__swift-autobuild.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__swift-custom-build.yml b/.github/workflows/__swift-custom-build.yml index a5b67baebb..4bb3b6bf0a 100644 --- a/.github/workflows/__swift-custom-build.yml +++ b/.github/workflows/__swift-custom-build.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__test-autobuild-working-dir.yml b/.github/workflows/__test-autobuild-working-dir.yml index c2c230f860..1fb34d0e6f 100644 --- a/.github/workflows/__test-autobuild-working-dir.yml +++ b/.github/workflows/__test-autobuild-working-dir.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__test-local-codeql.yml b/.github/workflows/__test-local-codeql.yml index f4d46ad3fa..b152716650 100644 --- a/.github/workflows/__test-local-codeql.yml +++ b/.github/workflows/__test-local-codeql.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__test-proxy.yml b/.github/workflows/__test-proxy.yml index 9420ed1444..abae0fba53 100644 --- a/.github/workflows/__test-proxy.yml +++ b/.github/workflows/__test-proxy.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__unset-environment.yml b/.github/workflows/__unset-environment.yml index 5d4ba448c0..a11d157297 100644 --- a/.github/workflows/__unset-environment.yml +++ b/.github/workflows/__unset-environment.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__upload-quality-sarif.yml b/.github/workflows/__upload-quality-sarif.yml index e2a2701489..78e6bbb619 100644 --- a/.github/workflows/__upload-quality-sarif.yml +++ b/.github/workflows/__upload-quality-sarif.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__upload-ref-sha-input.yml b/.github/workflows/__upload-ref-sha-input.yml index 67c54bf068..41bda76152 100644 --- a/.github/workflows/__upload-ref-sha-input.yml +++ b/.github/workflows/__upload-ref-sha-input.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/__with-checkout-path.yml b/.github/workflows/__with-checkout-path.yml index d2fd539c6f..2416c89719 100644 --- a/.github/workflows/__with-checkout-path.yml +++ b/.github/workflows/__with-checkout-path.yml @@ -8,16 +8,6 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: - push: - branches: - - main - - releases/v* - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review schedule: - cron: '0 5 * * *' workflow_dispatch: diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index d4993b6cee..24e4aa8dc3 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -31,7 +31,7 @@ jobs: run: git config --global core.autocrlf false - uses: actions/checkout@v5 - + - name: Set up Node.js uses: actions/setup-node@v4 with: @@ -70,6 +70,12 @@ jobs: sarif_file: eslint.sarif category: eslint + pr-checks: + name: "Run all PR checks" + needs: + - unit-tests + uses: ./.github/workflows/__all.yml + check-node-version: if: github.event.pull_request name: Check Action Node versions diff --git a/pr-checks/sync.py b/pr-checks/sync.py index 9ca49fefa5..a963fe9262 100755 --- a/pr-checks/sync.py +++ b/pr-checks/sync.py @@ -231,6 +231,13 @@ def writeHeader(checkStream): checkJob['env']['CODEQL_ACTION_TEST_MODE'] = True checkName = file.stem + # Add this check to the collection of all PR checks. + collections.setdefault("all", []).append({ + 'specification': checkSpecification, + 'checkName': checkName, + 'inputs': workflowInputs + }) + # If this check belongs to a named collection, record it. if 'collection' in checkSpecification: collection_name = checkSpecification['collection'] @@ -250,12 +257,6 @@ def writeHeader(checkStream): 'GO111MODULE': 'auto' }, 'on': { - 'push': { - 'branches': ['main', 'releases/v*'] - }, - 'pull_request': { - 'types': ["opened", "synchronize", "reopened", "ready_for_review"] - }, 'schedule': [{'cron': SingleQuotedScalarString('0 5 * * *')}], 'workflow_dispatch': { 'inputs': workflowInputs @@ -324,6 +325,9 @@ def writeHeader(checkStream): 'workflow_dispatch': { 'inputs': combinedInputs }, + 'workflow_call': { + 'inputs': combinedInputs + } }, 'jobs': jobs }, output_stream)