mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Allow inputs for workflow_* events, and propagate them through collections
This commit is contained in:
6
.github/workflows/__all-platform-bundle.yml
generated
vendored
6
.github/workflows/__all-platform-bundle.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
all-platform-bundle:
|
all-platform-bundle:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__analyze-ref-input.yml
generated
vendored
6
.github/workflows/__analyze-ref-input.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
analyze-ref-input:
|
analyze-ref-input:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__autobuild-action.yml
generated
vendored
6
.github/workflows/__autobuild-action.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
autobuild-action:
|
autobuild-action:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__autobuild-direct-tracing-with-working-dir.yml
generated
vendored
6
.github/workflows/__autobuild-direct-tracing-with-working-dir.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
autobuild-direct-tracing-with-working-dir:
|
autobuild-direct-tracing-with-working-dir:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__autobuild-direct-tracing.yml
generated
vendored
6
.github/workflows/__autobuild-direct-tracing.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
autobuild-direct-tracing:
|
autobuild-direct-tracing:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__build-mode-autobuild.yml
generated
vendored
6
.github/workflows/__build-mode-autobuild.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
build-mode-autobuild:
|
build-mode-autobuild:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__build-mode-manual.yml
generated
vendored
6
.github/workflows/__build-mode-manual.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
build-mode-manual:
|
build-mode-manual:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__build-mode-none.yml
generated
vendored
6
.github/workflows/__build-mode-none.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
build-mode-none:
|
build-mode-none:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__build-mode-rollback.yml
generated
vendored
6
.github/workflows/__build-mode-rollback.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
build-mode-rollback:
|
build-mode-rollback:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__bundle-toolcache.yml
generated
vendored
6
.github/workflows/__bundle-toolcache.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
bundle-toolcache:
|
bundle-toolcache:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__bundle-zstd.yml
generated
vendored
6
.github/workflows/__bundle-zstd.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
bundle-zstd:
|
bundle-zstd:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__cleanup-db-cluster-dir.yml
generated
vendored
6
.github/workflows/__cleanup-db-cluster-dir.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
cleanup-db-cluster-dir:
|
cleanup-db-cluster-dir:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__config-export.yml
generated
vendored
6
.github/workflows/__config-export.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
config-export:
|
config-export:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__config-input.yml
generated
vendored
6
.github/workflows/__config-input.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
config-input:
|
config-input:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__cpp-deptrace-disabled.yml
generated
vendored
6
.github/workflows/__cpp-deptrace-disabled.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
cpp-deptrace-disabled:
|
cpp-deptrace-disabled:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__cpp-deptrace-enabled-on-macos.yml
generated
vendored
6
.github/workflows/__cpp-deptrace-enabled-on-macos.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
cpp-deptrace-enabled-on-macos:
|
cpp-deptrace-enabled-on-macos:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__cpp-deptrace-enabled.yml
generated
vendored
6
.github/workflows/__cpp-deptrace-enabled.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
cpp-deptrace-enabled:
|
cpp-deptrace-enabled:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__diagnostics-export.yml
generated
vendored
6
.github/workflows/__diagnostics-export.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
diagnostics-export:
|
diagnostics-export:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__export-file-baseline-information.yml
generated
vendored
6
.github/workflows/__export-file-baseline-information.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
export-file-baseline-information:
|
export-file-baseline-information:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__extractor-ram-threads.yml
generated
vendored
6
.github/workflows/__extractor-ram-threads.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
extractor-ram-threads:
|
extractor-ram-threads:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
16
.github/workflows/__go-custom-queries.yml
generated
vendored
16
.github/workflows/__go-custom-queries.yml
generated
vendored
@@ -20,8 +20,18 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
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:
|
jobs:
|
||||||
go-custom-queries:
|
go-custom-queries:
|
||||||
strategy:
|
strategy:
|
||||||
@@ -51,7 +61,7 @@ jobs:
|
|||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '>=1.21.0'
|
go-version: ${{ inputs.go-version || '>=1.21.0' }}
|
||||||
cache: false
|
cache: false
|
||||||
- uses: ./../action/init
|
- uses: ./../action/init
|
||||||
with:
|
with:
|
||||||
|
|||||||
16
.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml
generated
vendored
16
.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml
generated
vendored
@@ -20,8 +20,18 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
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:
|
jobs:
|
||||||
go-indirect-tracing-workaround-diagnostic:
|
go-indirect-tracing-workaround-diagnostic:
|
||||||
strategy:
|
strategy:
|
||||||
@@ -49,7 +59,7 @@ jobs:
|
|||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '>=1.21.0'
|
go-version: ${{ inputs.go-version || '>=1.21.0' }}
|
||||||
cache: false
|
cache: false
|
||||||
- uses: ./../action/init
|
- uses: ./../action/init
|
||||||
with:
|
with:
|
||||||
|
|||||||
16
.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml
generated
vendored
16
.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml
generated
vendored
@@ -20,8 +20,18 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
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:
|
jobs:
|
||||||
go-indirect-tracing-workaround-no-file-program:
|
go-indirect-tracing-workaround-no-file-program:
|
||||||
strategy:
|
strategy:
|
||||||
@@ -49,7 +59,7 @@ jobs:
|
|||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '>=1.21.0'
|
go-version: ${{ inputs.go-version || '>=1.21.0' }}
|
||||||
cache: false
|
cache: false
|
||||||
- name: Remove `file` program
|
- name: Remove `file` program
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
16
.github/workflows/__go-indirect-tracing-workaround.yml
generated
vendored
16
.github/workflows/__go-indirect-tracing-workaround.yml
generated
vendored
@@ -20,8 +20,18 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
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:
|
jobs:
|
||||||
go-indirect-tracing-workaround:
|
go-indirect-tracing-workaround:
|
||||||
strategy:
|
strategy:
|
||||||
@@ -49,7 +59,7 @@ jobs:
|
|||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '>=1.21.0'
|
go-version: ${{ inputs.go-version || '>=1.21.0' }}
|
||||||
cache: false
|
cache: false
|
||||||
- uses: ./../action/init
|
- uses: ./../action/init
|
||||||
with:
|
with:
|
||||||
|
|||||||
16
.github/workflows/__go-tracing-autobuilder.yml
generated
vendored
16
.github/workflows/__go-tracing-autobuilder.yml
generated
vendored
@@ -20,8 +20,18 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
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:
|
jobs:
|
||||||
go-tracing-autobuilder:
|
go-tracing-autobuilder:
|
||||||
strategy:
|
strategy:
|
||||||
@@ -79,7 +89,7 @@ jobs:
|
|||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '>=1.21.0'
|
go-version: ${{ inputs.go-version || '>=1.21.0' }}
|
||||||
cache: false
|
cache: false
|
||||||
- uses: ./../action/init
|
- uses: ./../action/init
|
||||||
with:
|
with:
|
||||||
|
|||||||
16
.github/workflows/__go-tracing-custom-build-steps.yml
generated
vendored
16
.github/workflows/__go-tracing-custom-build-steps.yml
generated
vendored
@@ -20,8 +20,18 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
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:
|
jobs:
|
||||||
go-tracing-custom-build-steps:
|
go-tracing-custom-build-steps:
|
||||||
strategy:
|
strategy:
|
||||||
@@ -79,7 +89,7 @@ jobs:
|
|||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '>=1.21.0'
|
go-version: ${{ inputs.go-version || '>=1.21.0' }}
|
||||||
cache: false
|
cache: false
|
||||||
- uses: ./../action/init
|
- uses: ./../action/init
|
||||||
with:
|
with:
|
||||||
|
|||||||
16
.github/workflows/__go-tracing-legacy-workflow.yml
generated
vendored
16
.github/workflows/__go-tracing-legacy-workflow.yml
generated
vendored
@@ -20,8 +20,18 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
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:
|
jobs:
|
||||||
go-tracing-legacy-workflow:
|
go-tracing-legacy-workflow:
|
||||||
strategy:
|
strategy:
|
||||||
@@ -79,7 +89,7 @@ jobs:
|
|||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '>=1.21.0'
|
go-version: ${{ inputs.go-version || '>=1.21.0' }}
|
||||||
cache: false
|
cache: false
|
||||||
- uses: ./../action/init
|
- uses: ./../action/init
|
||||||
with:
|
with:
|
||||||
|
|||||||
21
.github/workflows/__go.yml
generated
vendored
21
.github/workflows/__go.yml
generated
vendored
@@ -11,7 +11,12 @@ on:
|
|||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- .github/workflows/__go.yml
|
- .github/workflows/__go.yml
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
go-version:
|
||||||
|
type: string
|
||||||
|
description: The version of Go to install
|
||||||
|
required: true
|
||||||
jobs:
|
jobs:
|
||||||
go-custom-queries:
|
go-custom-queries:
|
||||||
name: 'Go: Custom queries'
|
name: 'Go: Custom queries'
|
||||||
@@ -19,39 +24,53 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
security-events: read
|
security-events: read
|
||||||
uses: ./.github/workflows/__go-custom-queries.yml
|
uses: ./.github/workflows/__go-custom-queries.yml
|
||||||
|
with:
|
||||||
|
go-version: ${{ inputs.go-version }}
|
||||||
go-tracing-legacy-workflow:
|
go-tracing-legacy-workflow:
|
||||||
name: 'Go: tracing with legacy workflow'
|
name: 'Go: tracing with legacy workflow'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
security-events: read
|
security-events: read
|
||||||
uses: ./.github/workflows/__go-tracing-legacy-workflow.yml
|
uses: ./.github/workflows/__go-tracing-legacy-workflow.yml
|
||||||
|
with:
|
||||||
|
go-version: ${{ inputs.go-version }}
|
||||||
go-indirect-tracing-workaround:
|
go-indirect-tracing-workaround:
|
||||||
name: 'Go: workaround for indirect tracing'
|
name: 'Go: workaround for indirect tracing'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
security-events: read
|
security-events: read
|
||||||
uses: ./.github/workflows/__go-indirect-tracing-workaround.yml
|
uses: ./.github/workflows/__go-indirect-tracing-workaround.yml
|
||||||
|
with:
|
||||||
|
go-version: ${{ inputs.go-version }}
|
||||||
go-tracing-custom-build-steps:
|
go-tracing-custom-build-steps:
|
||||||
name: 'Go: tracing with custom build steps'
|
name: 'Go: tracing with custom build steps'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
security-events: read
|
security-events: read
|
||||||
uses: ./.github/workflows/__go-tracing-custom-build-steps.yml
|
uses: ./.github/workflows/__go-tracing-custom-build-steps.yml
|
||||||
|
with:
|
||||||
|
go-version: ${{ inputs.go-version }}
|
||||||
go-tracing-autobuilder:
|
go-tracing-autobuilder:
|
||||||
name: 'Go: tracing with autobuilder step'
|
name: 'Go: tracing with autobuilder step'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
security-events: read
|
security-events: read
|
||||||
uses: ./.github/workflows/__go-tracing-autobuilder.yml
|
uses: ./.github/workflows/__go-tracing-autobuilder.yml
|
||||||
|
with:
|
||||||
|
go-version: ${{ inputs.go-version }}
|
||||||
go-indirect-tracing-workaround-diagnostic:
|
go-indirect-tracing-workaround-diagnostic:
|
||||||
name: 'Go: diagnostic when Go is changed after init step'
|
name: 'Go: diagnostic when Go is changed after init step'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
security-events: read
|
security-events: read
|
||||||
uses: ./.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml
|
uses: ./.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml
|
||||||
|
with:
|
||||||
|
go-version: ${{ inputs.go-version }}
|
||||||
go-indirect-tracing-workaround-no-file-program:
|
go-indirect-tracing-workaround-no-file-program:
|
||||||
name: 'Go: diagnostic when `file` is not installed'
|
name: 'Go: diagnostic when `file` is not installed'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
security-events: read
|
security-events: read
|
||||||
uses: ./.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml
|
uses: ./.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml
|
||||||
|
with:
|
||||||
|
go-version: ${{ inputs.go-version }}
|
||||||
|
|||||||
6
.github/workflows/__init-with-registries.yml
generated
vendored
6
.github/workflows/__init-with-registries.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
init-with-registries:
|
init-with-registries:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__javascript-source-root.yml
generated
vendored
6
.github/workflows/__javascript-source-root.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
javascript-source-root:
|
javascript-source-root:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__job-run-uuid-sarif.yml
generated
vendored
6
.github/workflows/__job-run-uuid-sarif.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
job-run-uuid-sarif:
|
job-run-uuid-sarif:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__language-aliases.yml
generated
vendored
6
.github/workflows/__language-aliases.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
language-aliases:
|
language-aliases:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__multi-language-autodetect.yml
generated
vendored
6
.github/workflows/__multi-language-autodetect.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
multi-language-autodetect:
|
multi-language-autodetect:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__overlay-init-fallback.yml
generated
vendored
6
.github/workflows/__overlay-init-fallback.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
overlay-init-fallback:
|
overlay-init-fallback:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__packaging-codescanning-config-inputs-js.yml
generated
vendored
6
.github/workflows/__packaging-codescanning-config-inputs-js.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
packaging-codescanning-config-inputs-js:
|
packaging-codescanning-config-inputs-js:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__packaging-config-inputs-js.yml
generated
vendored
6
.github/workflows/__packaging-config-inputs-js.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
packaging-config-inputs-js:
|
packaging-config-inputs-js:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__packaging-config-js.yml
generated
vendored
6
.github/workflows/__packaging-config-js.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
packaging-config-js:
|
packaging-config-js:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__packaging-inputs-js.yml
generated
vendored
6
.github/workflows/__packaging-inputs-js.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
packaging-inputs-js:
|
packaging-inputs-js:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__quality-queries.yml
generated
vendored
6
.github/workflows/__quality-queries.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
quality-queries:
|
quality-queries:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__remote-config.yml
generated
vendored
6
.github/workflows/__remote-config.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
remote-config:
|
remote-config:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__resolve-environment-action.yml
generated
vendored
6
.github/workflows/__resolve-environment-action.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
resolve-environment-action:
|
resolve-environment-action:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__rubocop-multi-language.yml
generated
vendored
6
.github/workflows/__rubocop-multi-language.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
rubocop-multi-language:
|
rubocop-multi-language:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__ruby.yml
generated
vendored
6
.github/workflows/__ruby.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
ruby:
|
ruby:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__rust.yml
generated
vendored
6
.github/workflows/__rust.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
rust:
|
rust:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__split-workflow.yml
generated
vendored
6
.github/workflows/__split-workflow.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
split-workflow:
|
split-workflow:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__start-proxy.yml
generated
vendored
6
.github/workflows/__start-proxy.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
start-proxy:
|
start-proxy:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__submit-sarif-failure.yml
generated
vendored
6
.github/workflows/__submit-sarif-failure.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
submit-sarif-failure:
|
submit-sarif-failure:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__swift-autobuild.yml
generated
vendored
6
.github/workflows/__swift-autobuild.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
swift-autobuild:
|
swift-autobuild:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__swift-custom-build.yml
generated
vendored
6
.github/workflows/__swift-custom-build.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
swift-custom-build:
|
swift-custom-build:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__test-autobuild-working-dir.yml
generated
vendored
6
.github/workflows/__test-autobuild-working-dir.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
test-autobuild-working-dir:
|
test-autobuild-working-dir:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__test-local-codeql.yml
generated
vendored
6
.github/workflows/__test-local-codeql.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
test-local-codeql:
|
test-local-codeql:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__test-proxy.yml
generated
vendored
6
.github/workflows/__test-proxy.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
test-proxy:
|
test-proxy:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__unset-environment.yml
generated
vendored
6
.github/workflows/__unset-environment.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
unset-environment:
|
unset-environment:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__upload-quality-sarif.yml
generated
vendored
6
.github/workflows/__upload-quality-sarif.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
upload-quality-sarif:
|
upload-quality-sarif:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__upload-ref-sha-input.yml
generated
vendored
6
.github/workflows/__upload-ref-sha-input.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
upload-ref-sha-input:
|
upload-ref-sha-input:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
6
.github/workflows/__with-checkout-path.yml
generated
vendored
6
.github/workflows/__with-checkout-path.yml
generated
vendored
@@ -20,8 +20,10 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *'
|
- cron: '0 5 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
workflow_call: {}
|
inputs: {}
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
jobs:
|
jobs:
|
||||||
with-checkout-path:
|
with-checkout-path:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
name: "Go: Custom queries"
|
name: "Go: Custom queries"
|
||||||
description: "Checks that Go works in conjunction with a config file specifying custom queries"
|
description: "Checks that Go works in conjunction with a config file specifying custom queries"
|
||||||
collection: go
|
collection: go
|
||||||
|
inputs:
|
||||||
|
go-version:
|
||||||
|
type: string
|
||||||
|
description: "The version of Go to install"
|
||||||
|
required: true
|
||||||
operatingSystems:
|
operatingSystems:
|
||||||
- ubuntu
|
- ubuntu
|
||||||
versions:
|
versions:
|
||||||
|
|||||||
@@ -1,11 +1,16 @@
|
|||||||
name: "Go: diagnostic when Go is changed after init step"
|
name: "Go: diagnostic when Go is changed after init step"
|
||||||
description: "Checks that we emit a diagnostic if Go is changed after the init step"
|
description: "Checks that we emit a diagnostic if Go is changed after the init step"
|
||||||
collection: go
|
|
||||||
# only Linux is affected
|
# only Linux is affected
|
||||||
operatingSystems: ["ubuntu"]
|
operatingSystems: ["ubuntu"]
|
||||||
# pinned to a version which does not support statically linked binaries for indirect tracing
|
# pinned to a version which does not support statically linked binaries for indirect tracing
|
||||||
versions: ["default"]
|
versions: ["default"]
|
||||||
installGo: "true"
|
installGo: "true"
|
||||||
|
collection: go
|
||||||
|
inputs:
|
||||||
|
go-version:
|
||||||
|
type: string
|
||||||
|
description: "The version of Go to install"
|
||||||
|
required: true
|
||||||
steps:
|
steps:
|
||||||
- uses: ./../action/init
|
- uses: ./../action/init
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -1,11 +1,16 @@
|
|||||||
name: "Go: diagnostic when `file` is not installed"
|
name: "Go: diagnostic when `file` is not installed"
|
||||||
description: "Checks that we emit a diagnostic if the `file` program is not installed"
|
description: "Checks that we emit a diagnostic if the `file` program is not installed"
|
||||||
collection: go
|
|
||||||
# only Linux is affected
|
# only Linux is affected
|
||||||
operatingSystems: ["ubuntu"]
|
operatingSystems: ["ubuntu"]
|
||||||
# pinned to a version which does not support statically linked binaries for indirect tracing
|
# pinned to a version which does not support statically linked binaries for indirect tracing
|
||||||
versions: ["default"]
|
versions: ["default"]
|
||||||
installGo: "true"
|
installGo: "true"
|
||||||
|
collection: go
|
||||||
|
inputs:
|
||||||
|
go-version:
|
||||||
|
type: string
|
||||||
|
description: "The version of Go to install"
|
||||||
|
required: true
|
||||||
steps:
|
steps:
|
||||||
- name: Remove `file` program
|
- name: Remove `file` program
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -1,11 +1,16 @@
|
|||||||
name: "Go: workaround for indirect tracing"
|
name: "Go: workaround for indirect tracing"
|
||||||
description: "Checks that our workaround for indirect tracing for Go 1.21+ on Linux works"
|
description: "Checks that our workaround for indirect tracing for Go 1.21+ on Linux works"
|
||||||
collection: go
|
|
||||||
# only Linux is affected
|
# only Linux is affected
|
||||||
operatingSystems: ["ubuntu"]
|
operatingSystems: ["ubuntu"]
|
||||||
# pinned to a version which does not support statically linked binaries for indirect tracing
|
# pinned to a version which does not support statically linked binaries for indirect tracing
|
||||||
versions: ["default"]
|
versions: ["default"]
|
||||||
installGo: "true"
|
installGo: "true"
|
||||||
|
collection: go
|
||||||
|
inputs:
|
||||||
|
go-version:
|
||||||
|
type: string
|
||||||
|
description: "The version of Go to install"
|
||||||
|
required: true
|
||||||
steps:
|
steps:
|
||||||
- uses: ./../action/init
|
- uses: ./../action/init
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
name: "Go: tracing with autobuilder step"
|
name: "Go: tracing with autobuilder step"
|
||||||
description: "Checks that Go tracing works when using an autobuilder step"
|
description: "Checks that Go tracing works when using an autobuilder step"
|
||||||
collection: go
|
collection: go
|
||||||
|
inputs:
|
||||||
|
go-version:
|
||||||
|
type: string
|
||||||
|
description: "The version of Go to install"
|
||||||
|
required: true
|
||||||
operatingSystems: ["ubuntu", "macos"]
|
operatingSystems: ["ubuntu", "macos"]
|
||||||
env:
|
env:
|
||||||
DOTNET_GENERATE_ASPNET_CERTIFICATE: "false"
|
DOTNET_GENERATE_ASPNET_CERTIFICATE: "false"
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
name: "Go: tracing with custom build steps"
|
name: "Go: tracing with custom build steps"
|
||||||
description: "Checks that Go tracing traces the build when using custom build steps"
|
description: "Checks that Go tracing traces the build when using custom build steps"
|
||||||
collection: go
|
collection: go
|
||||||
|
inputs:
|
||||||
|
go-version:
|
||||||
|
type: string
|
||||||
|
description: "The version of Go to install"
|
||||||
|
required: true
|
||||||
operatingSystems: ["ubuntu", "macos"]
|
operatingSystems: ["ubuntu", "macos"]
|
||||||
installGo: "true"
|
installGo: "true"
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
name: "Go: tracing with legacy workflow"
|
name: "Go: tracing with legacy workflow"
|
||||||
description: "Checks that we run the autobuilder in legacy workflows with neither an autobuild step nor manual build steps"
|
description: "Checks that we run the autobuilder in legacy workflows with neither an autobuild step nor manual build steps"
|
||||||
collection: go
|
collection: go
|
||||||
|
inputs:
|
||||||
|
go-version:
|
||||||
|
type: string
|
||||||
|
description: "The version of Go to install"
|
||||||
|
required: true
|
||||||
operatingSystems: ["ubuntu", "macos"]
|
operatingSystems: ["ubuntu", "macos"]
|
||||||
env:
|
env:
|
||||||
DOTNET_GENERATE_ASPNET_CERTIFICATE: "false"
|
DOTNET_GENERATE_ASPNET_CERTIFICATE: "false"
|
||||||
|
|||||||
@@ -114,11 +114,16 @@ for file in (this_dir / 'checks').glob('*.yml'):
|
|||||||
installGo = True if checkSpecification['installGo'].lower() == "true" else False
|
installGo = True if checkSpecification['installGo'].lower() == "true" else False
|
||||||
|
|
||||||
if installGo:
|
if installGo:
|
||||||
|
goVersionExpr = '>=1.21.0'
|
||||||
|
|
||||||
|
if 'inputs' in checkSpecification and 'go-version' in checkSpecification['inputs']:
|
||||||
|
goVersionExpr = '${{ inputs.go-version || \'>=1.21.0\' }}'
|
||||||
|
|
||||||
steps.append({
|
steps.append({
|
||||||
'name': 'Install Go',
|
'name': 'Install Go',
|
||||||
'uses': 'actions/setup-go@v5',
|
'uses': 'actions/setup-go@v5',
|
||||||
'with': {
|
'with': {
|
||||||
'go-version': '>=1.21.0',
|
'go-version': goVersionExpr,
|
||||||
# to avoid potentially misleading autobuilder results where we expect it to download
|
# to avoid potentially misleading autobuilder results where we expect it to download
|
||||||
# dependencies successfully, but they actually come from a warm cache
|
# dependencies successfully, but they actually come from a warm cache
|
||||||
'cache': False
|
'cache': False
|
||||||
@@ -169,6 +174,10 @@ for file in (this_dir / 'checks').glob('*.yml'):
|
|||||||
'checkName': checkName
|
'checkName': checkName
|
||||||
})
|
})
|
||||||
|
|
||||||
|
workflowInputs = {}
|
||||||
|
if 'inputs' in checkSpecification:
|
||||||
|
workflowInputs = checkSpecification['inputs']
|
||||||
|
|
||||||
raw_file = this_dir.parent / ".github" / "workflows" / f"__{checkName}.yml.raw"
|
raw_file = this_dir.parent / ".github" / "workflows" / f"__{checkName}.yml.raw"
|
||||||
with open(raw_file, 'w') as output_stream:
|
with open(raw_file, 'w') as output_stream:
|
||||||
writeHeader(output_stream)
|
writeHeader(output_stream)
|
||||||
@@ -186,8 +195,12 @@ for file in (this_dir / 'checks').glob('*.yml'):
|
|||||||
'types': ["opened", "synchronize", "reopened", "ready_for_review"]
|
'types': ["opened", "synchronize", "reopened", "ready_for_review"]
|
||||||
},
|
},
|
||||||
'schedule': [{'cron': SingleQuotedScalarString('0 5 * * *')}],
|
'schedule': [{'cron': SingleQuotedScalarString('0 5 * * *')}],
|
||||||
'workflow_dispatch': {},
|
'workflow_dispatch': {
|
||||||
'workflow_call': {}
|
'inputs': workflowInputs
|
||||||
|
},
|
||||||
|
'workflow_call': {
|
||||||
|
'inputs': workflowInputs
|
||||||
|
}
|
||||||
},
|
},
|
||||||
'jobs': {
|
'jobs': {
|
||||||
checkName: checkJob
|
checkName: checkJob
|
||||||
@@ -203,10 +216,20 @@ for file in (this_dir / 'checks').glob('*.yml'):
|
|||||||
# write workflow files for collections
|
# write workflow files for collections
|
||||||
for collection_name in collections:
|
for collection_name in collections:
|
||||||
jobs = {}
|
jobs = {}
|
||||||
|
combinedInputs = {}
|
||||||
|
|
||||||
for check in collections[collection_name]:
|
for check in collections[collection_name]:
|
||||||
checkName = check['checkName']
|
checkName = check['checkName']
|
||||||
checkSpecification = check['specification']
|
checkSpecification = check['specification']
|
||||||
|
checkInputs = {}
|
||||||
|
checkWith = {}
|
||||||
|
|
||||||
|
if 'inputs' in checkSpecification:
|
||||||
|
combinedInputs |= checkSpecification['inputs']
|
||||||
|
|
||||||
|
for inputName in checkSpecification['inputs'].keys():
|
||||||
|
checkWith[inputName] = "${{ inputs." + inputName + " }}"
|
||||||
|
|
||||||
jobs[checkName] = {
|
jobs[checkName] = {
|
||||||
'name': checkSpecification['name'],
|
'name': checkSpecification['name'],
|
||||||
'permissions': {
|
'permissions': {
|
||||||
@@ -214,6 +237,7 @@ for collection_name in collections:
|
|||||||
'security-events': 'read'
|
'security-events': 'read'
|
||||||
},
|
},
|
||||||
'uses': "./.github/workflows/" + f"__{checkName}.yml",
|
'uses': "./.github/workflows/" + f"__{checkName}.yml",
|
||||||
|
'with': checkWith
|
||||||
}
|
}
|
||||||
|
|
||||||
raw_file = this_dir.parent / ".github" / "workflows" / f"__{collection_name}.yml.raw"
|
raw_file = this_dir.parent / ".github" / "workflows" / f"__{collection_name}.yml.raw"
|
||||||
@@ -231,7 +255,9 @@ for collection_name in collections:
|
|||||||
f'.github/workflows/__{collection_name}.yml'
|
f'.github/workflows/__{collection_name}.yml'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
'workflow_dispatch': {},
|
'workflow_dispatch': {
|
||||||
|
'inputs': combinedInputs
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'jobs': jobs
|
'jobs': jobs
|
||||||
}, output_stream)
|
}, output_stream)
|
||||||
|
|||||||
Reference in New Issue
Block a user