Allow inputs for workflow_* events, and propagate them through collections

This commit is contained in:
Michael B. Gale
2025-08-12 12:50:52 +01:00
parent cf7a5d3e11
commit a592f71173
64 changed files with 371 additions and 125 deletions

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
all-platform-bundle:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
analyze-ref-input:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
autobuild-action:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
autobuild-direct-tracing-with-working-dir:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
autobuild-direct-tracing:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
build-mode-autobuild:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
build-mode-manual:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
build-mode-none:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
build-mode-rollback:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
bundle-toolcache:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
bundle-zstd:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
cleanup-db-cluster-dir:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
config-export:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
config-input:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
cpp-deptrace-disabled:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
cpp-deptrace-enabled-on-macos:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
cpp-deptrace-enabled:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
diagnostics-export:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
export-file-baseline-information:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
extractor-ram-threads:
strategy:

View File

@@ -20,8 +20,18 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs:
go-version:
type: string
description: The version of Go to install
required: true
workflow_call:
inputs:
go-version:
type: string
description: The version of Go to install
required: true
jobs:
go-custom-queries:
strategy:
@@ -51,7 +61,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '>=1.21.0'
go-version: ${{ inputs.go-version || '>=1.21.0' }}
cache: false
- uses: ./../action/init
with:

View File

@@ -20,8 +20,18 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs:
go-version:
type: string
description: The version of Go to install
required: true
workflow_call:
inputs:
go-version:
type: string
description: The version of Go to install
required: true
jobs:
go-indirect-tracing-workaround-diagnostic:
strategy:
@@ -49,7 +59,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '>=1.21.0'
go-version: ${{ inputs.go-version || '>=1.21.0' }}
cache: false
- uses: ./../action/init
with:

View File

@@ -20,8 +20,18 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs:
go-version:
type: string
description: The version of Go to install
required: true
workflow_call:
inputs:
go-version:
type: string
description: The version of Go to install
required: true
jobs:
go-indirect-tracing-workaround-no-file-program:
strategy:
@@ -49,7 +59,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '>=1.21.0'
go-version: ${{ inputs.go-version || '>=1.21.0' }}
cache: false
- name: Remove `file` program
run: |

View File

@@ -20,8 +20,18 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs:
go-version:
type: string
description: The version of Go to install
required: true
workflow_call:
inputs:
go-version:
type: string
description: The version of Go to install
required: true
jobs:
go-indirect-tracing-workaround:
strategy:
@@ -49,7 +59,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '>=1.21.0'
go-version: ${{ inputs.go-version || '>=1.21.0' }}
cache: false
- uses: ./../action/init
with:

View File

@@ -20,8 +20,18 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs:
go-version:
type: string
description: The version of Go to install
required: true
workflow_call:
inputs:
go-version:
type: string
description: The version of Go to install
required: true
jobs:
go-tracing-autobuilder:
strategy:
@@ -79,7 +89,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '>=1.21.0'
go-version: ${{ inputs.go-version || '>=1.21.0' }}
cache: false
- uses: ./../action/init
with:

View File

@@ -20,8 +20,18 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs:
go-version:
type: string
description: The version of Go to install
required: true
workflow_call:
inputs:
go-version:
type: string
description: The version of Go to install
required: true
jobs:
go-tracing-custom-build-steps:
strategy:
@@ -79,7 +89,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '>=1.21.0'
go-version: ${{ inputs.go-version || '>=1.21.0' }}
cache: false
- uses: ./../action/init
with:

View File

@@ -20,8 +20,18 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs:
go-version:
type: string
description: The version of Go to install
required: true
workflow_call:
inputs:
go-version:
type: string
description: The version of Go to install
required: true
jobs:
go-tracing-legacy-workflow:
strategy:
@@ -79,7 +89,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '>=1.21.0'
go-version: ${{ inputs.go-version || '>=1.21.0' }}
cache: false
- uses: ./../action/init
with:

21
.github/workflows/__go.yml generated vendored
View File

@@ -11,7 +11,12 @@ on:
push:
paths:
- .github/workflows/__go.yml
workflow_dispatch: {}
workflow_dispatch:
inputs:
go-version:
type: string
description: The version of Go to install
required: true
jobs:
go-custom-queries:
name: 'Go: Custom queries'
@@ -19,39 +24,53 @@ jobs:
contents: read
security-events: read
uses: ./.github/workflows/__go-custom-queries.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 }}
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-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-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-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 }}

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
init-with-registries:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
javascript-source-root:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
job-run-uuid-sarif:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
language-aliases:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
multi-language-autodetect:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
overlay-init-fallback:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
packaging-codescanning-config-inputs-js:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
packaging-config-inputs-js:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
packaging-config-js:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
packaging-inputs-js:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
quality-queries:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
remote-config:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
resolve-environment-action:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
rubocop-multi-language:
strategy:

6
.github/workflows/__ruby.yml generated vendored
View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
ruby:
strategy:

6
.github/workflows/__rust.yml generated vendored
View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
rust:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
split-workflow:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
start-proxy:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
submit-sarif-failure:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
swift-autobuild:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
swift-custom-build:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
test-autobuild-working-dir:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
test-local-codeql:
strategy:

6
.github/workflows/__test-proxy.yml generated vendored
View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
test-proxy:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
unset-environment:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
upload-quality-sarif:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
upload-ref-sha-input:
strategy:

View File

@@ -20,8 +20,10 @@ on:
- ready_for_review
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs: {}
workflow_call:
inputs: {}
jobs:
with-checkout-path:
strategy: