mirror of
https://github.com/n8n-io/n8n.git
synced 2026-08-28 17:22:01 +08:00
ci: Rename GH workflows for consistent naming (#23904)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Docker Base Image CI
|
||||
name: 'Build: Base Image'
|
||||
|
||||
on:
|
||||
push:
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
name: Benchmark Docker Image CI
|
||||
name: 'Build: Benchmark Image'
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -9,7 +9,7 @@ on:
|
||||
- 'packages/@n8n/benchmark/**'
|
||||
- 'pnpm-lock.yaml'
|
||||
- 'pnpm-workspace.yaml'
|
||||
- '.github/workflows/docker-images-benchmark.yml'
|
||||
- '.github/workflows/build-benchmark-image.yml'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Trigger build/unit tests on PR comment
|
||||
name: 'Build: Unit Test PR Comment'
|
||||
|
||||
on:
|
||||
issue_comment:
|
||||
@@ -94,7 +94,7 @@ jobs:
|
||||
HEAD_SHA: ${{ steps.check_permissions.outputs.headSha }}
|
||||
PR_NUMBER: ${{ steps.check_permissions.outputs.prNumber }}
|
||||
run: |
|
||||
gh workflow run ci-manual-build-unit-tests.yml \
|
||||
gh workflow run ci-manual-unit-tests.yml \
|
||||
--repo "${{ github.repository }}" \
|
||||
-f ref="${HEAD_SHA}" \
|
||||
-f pr_number="${PR_NUMBER}"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Windows CI
|
||||
name: 'Build: Windows'
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@
|
||||
#
|
||||
# It outputs `should_run` as 'true' if ALL conditions pass, 'false' otherwise.
|
||||
|
||||
name: PR Eligibility Check
|
||||
name: 'CI: Check Eligibility'
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Check PR title
|
||||
name: 'CI: Check PR Title'
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
name: Build, unit test and lint (manual trigger)
|
||||
name: 'CI: Manual Unit Tests'
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -66,7 +66,7 @@ jobs:
|
||||
unit-tests:
|
||||
name: Unit tests
|
||||
needs: install-and-build
|
||||
uses: ./.github/workflows/units-tests-reusable.yml
|
||||
uses: ./.github/workflows/test-unit-reusable.yml
|
||||
with:
|
||||
ref: ${{ inputs.ref }}
|
||||
collectCoverage: true
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
lint:
|
||||
name: Lint
|
||||
needs: install-and-build
|
||||
uses: ./.github/workflows/linting-reusable.yml
|
||||
uses: ./.github/workflows/test-linting-reusable.yml
|
||||
with:
|
||||
ref: ${{ inputs.ref }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Test Master
|
||||
name: 'CI: Master (Build, Test, Lint)'
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -20,7 +20,7 @@ jobs:
|
||||
|
||||
unit-test:
|
||||
name: Unit tests
|
||||
uses: ./.github/workflows/units-tests-reusable.yml
|
||||
uses: ./.github/workflows/test-unit-reusable.yml
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20.x, 22.x, 24.3.x]
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
|
||||
lint:
|
||||
name: Lint
|
||||
uses: ./.github/workflows/linting-reusable.yml
|
||||
uses: ./.github/workflows/test-linting-reusable.yml
|
||||
with:
|
||||
ref: ${{ github.sha }}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Build, unit test and lint branch
|
||||
name: 'CI: Pull Requests (Build, Test, Lint)'
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@@ -53,7 +53,7 @@ jobs:
|
||||
unit-test:
|
||||
name: Unit tests
|
||||
if: needs.install-and-build.outputs.non_python_changed == 'true'
|
||||
uses: ./.github/workflows/units-tests-reusable.yml
|
||||
uses: ./.github/workflows/test-unit-reusable.yml
|
||||
needs: install-and-build
|
||||
with:
|
||||
ref: ${{ needs.install-and-build.outputs.commit_sha }}
|
||||
@@ -79,7 +79,7 @@ jobs:
|
||||
lint:
|
||||
name: Lint
|
||||
if: needs.install-and-build.outputs.non_python_changed == 'true'
|
||||
uses: ./.github/workflows/linting-reusable.yml
|
||||
uses: ./.github/workflows/test-linting-reusable.yml
|
||||
needs: install-and-build
|
||||
with:
|
||||
ref: ${{ needs.install-and-build.outputs.commit_sha }}
|
||||
@@ -88,7 +88,7 @@ jobs:
|
||||
name: E2E Tests
|
||||
needs: install-and-build
|
||||
if: needs.install-and-build.outputs.non_python_changed == 'true'
|
||||
uses: ./.github/workflows/playwright-test-ci.yml
|
||||
uses: ./.github/workflows/test-e2e-ci-reusable.yml
|
||||
with:
|
||||
branch: ${{ needs.install-and-build.outputs.commit_sha }}
|
||||
secrets: inherit
|
||||
@@ -97,7 +97,7 @@ jobs:
|
||||
name: Security Checks
|
||||
needs: install-and-build
|
||||
if: needs.install-and-build.outputs.workflows_changed == 'true'
|
||||
uses: ./.github/workflows/ci-security.yml
|
||||
uses: ./.github/workflows/sec-ci-reusable.yml
|
||||
with:
|
||||
ref: ${{ needs.install-and-build.outputs.commit_sha }}
|
||||
secrets: inherit
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Python CI
|
||||
name: 'CI: Python'
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Security Checks
|
||||
name: 'Sec: CI Checks'
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
@@ -12,7 +12,7 @@ on:
|
||||
jobs:
|
||||
poutine-scan:
|
||||
name: Poutine Security Scan
|
||||
uses: ./.github/workflows/security-poutine-scan-callable.yml
|
||||
uses: ./.github/workflows/sec-poutine-reusable.yml
|
||||
with:
|
||||
ref: ${{ inputs.ref }}
|
||||
secrets: inherit
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
name: Security - Scan GitHub Actions with Poutine
|
||||
name: 'Sec: Poutine Scan'
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
name: Destroy Benchmark Env
|
||||
name: 'Test: Benchmark Destroy Env'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
name: Run Nightly Benchmark
|
||||
name: 'Test: Benchmark Nightly'
|
||||
run-name: Benchmark ${{ inputs.n8n_tag || 'nightly' }}
|
||||
|
||||
on:
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
name: Test Postgres and MySQL schemas
|
||||
name: 'Test: DB Postgres MySQL'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
@@ -14,7 +14,7 @@ on:
|
||||
- packages/cli/test/shared/db/**
|
||||
- packages/@n8n/db/**
|
||||
- packages/cli/**/__tests__/**
|
||||
- .github/workflows/ci-postgres-mysql.yml
|
||||
- .github/workflows/test-db-postgres-mysql.yml
|
||||
- .github/docker-compose.yml
|
||||
|
||||
concurrency:
|
||||
+5
-5
@@ -1,4 +1,4 @@
|
||||
name: E2E Tests for CI
|
||||
name: 'Test: E2E CI'
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
multi-main-e2e:
|
||||
name: 'Multi-Main: E2E'
|
||||
if: ${{ !github.event.pull_request.head.repo.fork }}
|
||||
uses: ./.github/workflows/playwright-test-reusable.yml
|
||||
uses: ./.github/workflows/test-e2e-reusable.yml
|
||||
with:
|
||||
branch: ${{ inputs.branch }}
|
||||
test-mode: docker-build
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
multi-main-isolated:
|
||||
name: 'Multi-Main: Isolated'
|
||||
if: ${{ !github.event.pull_request.head.repo.fork }}
|
||||
uses: ./.github/workflows/playwright-test-reusable.yml
|
||||
uses: ./.github/workflows/test-e2e-reusable.yml
|
||||
with:
|
||||
branch: ${{ inputs.branch }}
|
||||
test-mode: docker-build
|
||||
@@ -45,7 +45,7 @@ jobs:
|
||||
community-e2e:
|
||||
name: 'Community: E2E'
|
||||
if: ${{ github.event.pull_request.head.repo.fork }}
|
||||
uses: ./.github/workflows/playwright-test-reusable.yml
|
||||
uses: ./.github/workflows/test-e2e-reusable.yml
|
||||
with:
|
||||
branch: ${{ inputs.branch }}
|
||||
test-mode: local
|
||||
@@ -58,7 +58,7 @@ jobs:
|
||||
community-isolated:
|
||||
name: 'Community: Isolated'
|
||||
if: ${{ github.event.pull_request.head.repo.fork }}
|
||||
uses: ./.github/workflows/playwright-test-reusable.yml
|
||||
uses: ./.github/workflows/test-e2e-reusable.yml
|
||||
with:
|
||||
branch: ${{ inputs.branch }}
|
||||
test-mode: local
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
name: Weekly Coverage Tests
|
||||
name: 'Test: E2E Coverage Weekly'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
+6
-6
@@ -1,4 +1,4 @@
|
||||
name: Run Playwright Tests (Docker Pull)
|
||||
name: 'Test: E2E Docker Pull'
|
||||
# This workflow is used to run Playwright tests in a Docker container pulled from the registry
|
||||
|
||||
on:
|
||||
@@ -7,8 +7,8 @@ on:
|
||||
shards:
|
||||
description: 'Shards for parallel execution'
|
||||
required: false
|
||||
default: '[1]'
|
||||
type: string
|
||||
default: 1
|
||||
type: number
|
||||
image:
|
||||
description: 'Image to use'
|
||||
required: false
|
||||
@@ -19,8 +19,8 @@ on:
|
||||
shards:
|
||||
description: 'Shards for parallel execution'
|
||||
required: false
|
||||
default: '[1]'
|
||||
type: string
|
||||
default: 1
|
||||
type: number
|
||||
image:
|
||||
description: 'Image to use'
|
||||
required: false
|
||||
@@ -29,7 +29,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
uses: ./.github/workflows/playwright-test-reusable.yml
|
||||
uses: ./.github/workflows/test-e2e-reusable.yml
|
||||
with:
|
||||
test-mode: docker-pull
|
||||
shards: ${{ inputs.shards }}
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
name: Run Playwright Performance Tests
|
||||
name: 'Test: E2E Performance'
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
@@ -7,13 +7,13 @@ on:
|
||||
- cron: '0 0 * * *' # Runs daily at midnight
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/playwright-test-performance.yml'
|
||||
- '.github/workflows/test-e2e-performance-reusable.yml'
|
||||
|
||||
jobs:
|
||||
build-and-test-performance:
|
||||
uses: ./.github/workflows/playwright-test-reusable.yml
|
||||
uses: ./.github/workflows/test-e2e-reusable.yml
|
||||
with:
|
||||
test-mode: docker-build
|
||||
test-command: pnpm --filter=n8n-playwright test:performance
|
||||
shards: '[1]'
|
||||
shards: 1
|
||||
secrets: inherit
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
name: Playwright Tests - Reusable
|
||||
name: 'Test: E2E'
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Run Workflow Builder Evals
|
||||
name: 'Test: Evals AI'
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -6,7 +6,7 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- 'packages/@n8n/ai-workflow-builder.ee/**'
|
||||
- '.github/workflows/ci-evals.yml'
|
||||
- '.github/workflows/test-evals-ai.yml'
|
||||
schedule:
|
||||
- cron: '0 22 * * 6'
|
||||
workflow_dispatch:
|
||||
+2
-2
@@ -1,10 +1,10 @@
|
||||
name: AI Workflow Builder Evals Python CI
|
||||
name: 'Test: Evals Python'
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- packages/@n8n/ai-workflow-builder.ee/evaluations/programmatic/python/**
|
||||
- .github/workflows/ci-python-workflow-builder-evals.yml
|
||||
- .github/workflows/test-evals-python.yml
|
||||
push:
|
||||
paths:
|
||||
- packages/@n8n/ai-workflow-builder.ee/evaluations/programmatic/python/**
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
name: Reusable linting workflow
|
||||
name: 'Test: Linting'
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
name: Reusable units test workflow
|
||||
name: 'Test: Unit'
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Chromatic
|
||||
name: 'Test: Visual Chromatic'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
filters: |
|
||||
design_system:
|
||||
- 'packages/frontend/@n8n/design-system/**'
|
||||
- '.github/workflows/storybook.yml'
|
||||
- '.github/workflows/test-visual-storybook.yml'
|
||||
outputs:
|
||||
has_changes: ${{ steps.changed.outputs.design_system || 'false' }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Storybook
|
||||
name: 'Test: Visual Storybook'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
@@ -9,7 +9,7 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- 'packages/frontend/@n8n/design-system/**'
|
||||
- '.github/workflows/storybook.yml'
|
||||
- '.github/workflows/test-visual-storybook.yml'
|
||||
concurrency:
|
||||
group: storybook-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Test Workflows - Reusable
|
||||
name: 'Test: Workflows'
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Test Workflows Nightly and Manual
|
||||
name: 'Test: Workflows Nightly'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Test Workflows on PR Comment
|
||||
name: 'Test: Workflows PR Comment'
|
||||
|
||||
on:
|
||||
issue_comment:
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
name: Check Documentation URLs
|
||||
name: 'Util: Check Docs URLs'
|
||||
|
||||
on:
|
||||
release:
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Claude PR Assistant
|
||||
name: 'Util: Claude'
|
||||
|
||||
on:
|
||||
issue_comment:
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Data tooling, test exports and imports of data to various db types
|
||||
name: 'Util: Data Tooling'
|
||||
|
||||
# TODO: Uncomment this after it works on a manual invocation
|
||||
# on:
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
name: Notify PR status changed
|
||||
name: 'Util: Notify PR Status'
|
||||
|
||||
on:
|
||||
pull_request_review:
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
name: Sync Public API Schema to Docs Repo
|
||||
name: 'Util: Sync API Docs'
|
||||
|
||||
on:
|
||||
# Triggers for the master branch if relevant Public API files have changed
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
name: Update Node Popularity Data
|
||||
name: 'Util: Update Node Popularity'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
+2
-2
@@ -44,10 +44,10 @@ skip:
|
||||
- .github/workflows/sbom-generation-callable.yml
|
||||
# Uses merge commit SHA from GitHub - the code has already been reviewed
|
||||
# and merged, not arbitrary PR code.
|
||||
- .github/workflows/linting-reusable.yml
|
||||
- .github/workflows/test-linting-reusable.yml
|
||||
# Uses merge commit SHA from GitHub - the code has already been reviewed
|
||||
# and merged, not arbitrary PR code.
|
||||
- .github/workflows/units-tests-reusable.yml
|
||||
- .github/workflows/test-unit-reusable.yml
|
||||
# Permission-gated: only maintainers (admin/write/maintain) can trigger
|
||||
# via /test-workflows comment. Verified in test-workflows-pr-comment.yml.
|
||||
- .github/workflows/test-workflows-callable.yml
|
||||
|
||||
Reference in New Issue
Block a user