mirror of
https://github.com/n8n-io/n8n.git
synced 2026-08-30 18:01:23 +08:00
ci: Show workflow_dispatch inputs in workflow run names (#35496)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
name: 'Build: Base Image'
|
||||
run-name: "${{ github.event_name == 'workflow_dispatch' && format('Build: Base Image (push={0})', inputs.push) || '' }}"
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'CI: CLA Check'
|
||||
run-name: "${{ github.event_name == 'workflow_dispatch' && format('CI: CLA Check (PR #{0})', inputs.pr_number) || '' }}"
|
||||
|
||||
# In-house replacement for the GitHub App "CLA Bot".
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Instance AI Evals: PR Gate'
|
||||
run-name: "${{ github.event_name == 'workflow_dispatch' && format('Instance AI Evals: PR #{0} (tier={1})', inputs.pr, inputs.tier || 'pr') || '' }}"
|
||||
|
||||
# The PR gate for Instance AI workflow evals. Auto-runs on PR open/reopen/ready
|
||||
# (non-draft, non-fork, path-filtered); manual dispatch re-runs a specific PR
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'CI: MCP Workflow Evals'
|
||||
run-name: "CI: MCP Workflow Evals (tier=${{ inputs.tier }}, iterations=${{ inputs.iterations }}, model=${{ inputs['build-model'] }}, filter=${{ inputs.filter || 'all' }})"
|
||||
|
||||
# Runs the MCP workflow evals: builds workflows through the instance MCP server
|
||||
# with Claude, then scores them. Manual only (Actions tab → "Run workflow"),
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Util: Clean Stale Branches'
|
||||
run-name: "${{ github.event_name == 'workflow_dispatch' && format('Util: Clean Stale Branches (dry-run={0}, days={1}, exclude={2})', inputs['dry-run'], inputs.days, inputs.exclude) || '' }}"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Community: Close Stale PRs'
|
||||
run-name: "${{ github.event_name == 'workflow_dispatch' && format('Community: Close Stale PRs (dry-run={0})', inputs['dry-run']) || '' }}"
|
||||
|
||||
# Closes community PRs that were sent back to the contributor
|
||||
# (triage:needs-info / triage:tests-needed / Needs Feedback) and have been
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
# - Uses docker-tags.mjs for tag generation, this generates the tags for the images
|
||||
|
||||
name: 'Docker: Build and Push'
|
||||
run-name: "${{ github.event_name == 'workflow_dispatch' && format('Docker: Build and Push {0} (push={1}, arm64={2})', github.ref_name, inputs.push_enabled, inputs.include_arm64) || '' }}"
|
||||
|
||||
env:
|
||||
NODE_OPTIONS: '--max-old-space-size=7168'
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Mutation Health (nightly)'
|
||||
run-name: "${{ github.event_name == 'workflow_dispatch' && format('Mutation Health (mode={0}, top_n={1}, source_file={2})', inputs.mode, inputs.top_n, inputs.source_file) || '' }}"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Release: Build Daytona snapshot'
|
||||
run-name: 'Build Daytona snapshot for n8n@${{ inputs.n8n_version }}'
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: 'Release: Create Experiment PR'
|
||||
run-name: 'Release: Create Experiment Release PR'
|
||||
run-name: 'Release: Create Experiment Release PR (${{ inputs.commits }})'
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Release: Create Minor Release PR'
|
||||
run-name: 'Release: Create Minor Release PR (force=${{ inputs.force }})'
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Release: Create Pull Request'
|
||||
run-name: "Release: Create ${{ inputs['release-type'] }} PR from ${{ inputs['base-branch'] }}"
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Release: Publish New Package'
|
||||
run-name: "Release: Publish New Package (${{ inputs['package-path'] }})"
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Release: Push to Channel'
|
||||
run-name: "Release: Push n8n@${{ inputs.version }} to ${{ inputs['release-channel'] }}"
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Release: Standalone Package'
|
||||
run-name: 'Release: ${{ inputs.package }} (${{ inputs.bump }})'
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Release: Attach SBOM'
|
||||
run-name: 'Release: Attach SBOM for n8n@${{ inputs.n8n_version }}'
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
# Manual runs always sync (for conflict recovery after failed cherry-pick).
|
||||
|
||||
name: 'Security: Sync from Public'
|
||||
run-name: "${{ github.event_name == 'workflow_dispatch' && format('Security: Sync from Public (force={0})', inputs.force) || '' }}"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: Security - Scan Docker Image With Trivy
|
||||
run-name: 'Trivy scan of ${{ inputs.image_ref }}'
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Test: Benchmarks'
|
||||
run-name: "Test: Benchmarks (${{ inputs.ref || github.ref_name }})"
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Test: E2E Helm Chart'
|
||||
run-name: "${{ github.event_name == 'workflow_dispatch' && format('Test: E2E Helm Chart (mode={0}, branch={1}, chart={2})', inputs.mode, inputs.branch || 'default', inputs['helm-chart-ref']) || '' }}"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@@ -94,7 +95,10 @@ jobs:
|
||||
env:
|
||||
TESTCONTAINERS_RYUK_DISABLED: 'true'
|
||||
run: |
|
||||
npx tsx packages/testing/containers/helm-start-stack.ts \
|
||||
# tsx is a devDependency of n8n-containers, not the repo root, so it
|
||||
# must run via that package (root `npx tsx` stopped resolving when
|
||||
# shamefully-hoist was removed).
|
||||
pnpm --filter n8n-containers exec tsx helm-start-stack.ts \
|
||||
--env E2E_TESTS=true --env NODE_ENV=development \
|
||||
--mode "${{ inputs.mode || 'queue' }}" \
|
||||
--image "${{ env.DOCKER_IMAGE }}" \
|
||||
|
||||
@@ -108,7 +108,7 @@ jobs:
|
||||
|
||||
- name: Pre-pull Test Container Images
|
||||
if: ${{ !contains(inputs.test-command, 'test:local') }}
|
||||
run: npx tsx packages/testing/containers/pull-test-images.ts ${{ matrix.images }} || true
|
||||
run: pnpm --filter n8n-containers exec tsx pull-test-images.ts ${{ matrix.images }} || true
|
||||
|
||||
- name: Filter specs to previous-attempt failures
|
||||
if: github.run_attempt > 1 && matrix.specs != ''
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Test: E2E VM Expressions Nightly'
|
||||
run-name: "Test: E2E VM Expressions (${{ inputs.branch || 'nightly' }})"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Test: Evals AI'
|
||||
run-name: "${{ github.event_name == 'workflow_dispatch' && format('Test: Evals AI on {0} (eval_type={1}, spec_repetitions={2}, spec_judges={3})', inputs.branch, inputs.eval_type, inputs.spec_repetitions, inputs.spec_judges) || '' }}"
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Test: Instance AI Discovery Evals'
|
||||
run-name: "Test: Instance AI Discovery Evals (branch=${{ inputs.branch || 'master' }}, filter=${{ inputs.filter || 'all' }}, trials=${{ inputs.trials }})"
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Instance AI Evals: Experiments'
|
||||
run-name: "Instance AI Evals: ${{ inputs.branch || 'master' }} (tier=${{ inputs.tier || 'all' }}, iterations=${{ inputs.iterations }}, model=${{ inputs.model || 'default' }}, experiment=${{ inputs['experiment-name'] || '-' }})"
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Test: MCP Workflow Evals'
|
||||
run-name: "Test: MCP Workflow Evals (branch=${{ inputs.branch || github.ref_name }}, tier=${{ inputs.tier }}, iterations=${{ inputs.iterations }}, model=${{ inputs['build-model'] }})"
|
||||
|
||||
# Scores workflows built through the instance MCP server (packages/cli/src/modules/mcp)
|
||||
# with the Instance AI verifier, using the fused `--build-via-mcp` lane model:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: 'Test: Workflows Nightly'
|
||||
run-name: 'Test: Workflows Nightly (${{ inputs.git_ref_to_test }})'
|
||||
|
||||
# Nightly schedule disabled (DEVP-544): the "Run Workflow Tests with Snapshots"
|
||||
# job fails the majority of its runs due to host-level port contention on shared
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
name: 'Util: Claude Task Runner'
|
||||
# The `task` input is deliberately not in the run name: dispatchers pass large
|
||||
# multiline payloads (e.g. a full Linear issue as JSON) that must not appear in
|
||||
# the publicly visible run list.
|
||||
run-name: 'Util: Claude Task Runner (model=${{ inputs.model }}, ref=${{ inputs.ref }})'
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
Reference in New Issue
Block a user