fix: skip CI/CD workflows for documentation-only changes
- Add comprehensive paths-ignore to all workflows to skip runs when only docs are changed - Standardize pattern ordering across all workflow files - Fix redundant path configuration in benchmark-pr.yml - Add support for more documentation file types (*.txt, examples/**, .gitignore, etc.) - Ensure LICENSE* pattern covers all license file variants This optimization saves CI/CD minutes and reduces costs by avoiding unnecessary test runs, Docker builds, and benchmarks for documentation-only commits. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
18
.github/workflows/benchmark-pr.yml
vendored
18
.github/workflows/benchmark-pr.yml
vendored
@@ -2,11 +2,19 @@ name: Benchmark PR Comparison
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
paths:
|
paths-ignore:
|
||||||
- 'src/**'
|
- '**.md'
|
||||||
- 'tests/benchmarks/**'
|
- '**.txt'
|
||||||
- 'package.json'
|
- 'docs/**'
|
||||||
- 'vitest.config.benchmark.ts'
|
- 'examples/**'
|
||||||
|
- '.github/FUNDING.yml'
|
||||||
|
- '.github/ISSUE_TEMPLATE/**'
|
||||||
|
- '.github/pull_request_template.md'
|
||||||
|
- '.gitignore'
|
||||||
|
- 'LICENSE*'
|
||||||
|
- 'ATTRIBUTION.md'
|
||||||
|
- 'SECURITY.md'
|
||||||
|
- 'CODE_OF_CONDUCT.md'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|||||||
26
.github/workflows/benchmark.yml
vendored
26
.github/workflows/benchmark.yml
vendored
@@ -3,8 +3,34 @@ name: Performance Benchmarks
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main, feat/comprehensive-testing-suite]
|
branches: [main, feat/comprehensive-testing-suite]
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
|
- '**.txt'
|
||||||
|
- 'docs/**'
|
||||||
|
- 'examples/**'
|
||||||
|
- '.github/FUNDING.yml'
|
||||||
|
- '.github/ISSUE_TEMPLATE/**'
|
||||||
|
- '.github/pull_request_template.md'
|
||||||
|
- '.gitignore'
|
||||||
|
- 'LICENSE*'
|
||||||
|
- 'ATTRIBUTION.md'
|
||||||
|
- 'SECURITY.md'
|
||||||
|
- 'CODE_OF_CONDUCT.md'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
|
- '**.txt'
|
||||||
|
- 'docs/**'
|
||||||
|
- 'examples/**'
|
||||||
|
- '.github/FUNDING.yml'
|
||||||
|
- '.github/ISSUE_TEMPLATE/**'
|
||||||
|
- '.github/pull_request_template.md'
|
||||||
|
- '.gitignore'
|
||||||
|
- 'LICENSE*'
|
||||||
|
- 'ATTRIBUTION.md'
|
||||||
|
- 'SECURITY.md'
|
||||||
|
- 'CODE_OF_CONDUCT.md'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
|||||||
26
.github/workflows/docker-build-n8n.yml
vendored
26
.github/workflows/docker-build-n8n.yml
vendored
@@ -6,9 +6,35 @@ on:
|
|||||||
- main
|
- main
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
|
- '**.txt'
|
||||||
|
- 'docs/**'
|
||||||
|
- 'examples/**'
|
||||||
|
- '.github/FUNDING.yml'
|
||||||
|
- '.github/ISSUE_TEMPLATE/**'
|
||||||
|
- '.github/pull_request_template.md'
|
||||||
|
- '.gitignore'
|
||||||
|
- 'LICENSE*'
|
||||||
|
- 'ATTRIBUTION.md'
|
||||||
|
- 'SECURITY.md'
|
||||||
|
- 'CODE_OF_CONDUCT.md'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
|
- '**.txt'
|
||||||
|
- 'docs/**'
|
||||||
|
- 'examples/**'
|
||||||
|
- '.github/FUNDING.yml'
|
||||||
|
- '.github/ISSUE_TEMPLATE/**'
|
||||||
|
- '.github/pull_request_template.md'
|
||||||
|
- '.gitignore'
|
||||||
|
- 'LICENSE*'
|
||||||
|
- 'ATTRIBUTION.md'
|
||||||
|
- 'SECURITY.md'
|
||||||
|
- 'CODE_OF_CONDUCT.md'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|||||||
18
.github/workflows/docker-build.yml
vendored
18
.github/workflows/docker-build.yml
vendored
@@ -9,23 +9,33 @@ on:
|
|||||||
- 'v*'
|
- 'v*'
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**.md'
|
- '**.md'
|
||||||
|
- '**.txt'
|
||||||
|
- 'docs/**'
|
||||||
|
- 'examples/**'
|
||||||
- '.github/FUNDING.yml'
|
- '.github/FUNDING.yml'
|
||||||
- '.github/ISSUE_TEMPLATE/**'
|
- '.github/ISSUE_TEMPLATE/**'
|
||||||
- '.github/pull_request_template.md'
|
- '.github/pull_request_template.md'
|
||||||
- 'LICENSE'
|
- '.gitignore'
|
||||||
|
- 'LICENSE*'
|
||||||
- 'ATTRIBUTION.md'
|
- 'ATTRIBUTION.md'
|
||||||
- 'docs/**'
|
- 'SECURITY.md'
|
||||||
|
- 'CODE_OF_CONDUCT.md'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**.md'
|
- '**.md'
|
||||||
|
- '**.txt'
|
||||||
|
- 'docs/**'
|
||||||
|
- 'examples/**'
|
||||||
- '.github/FUNDING.yml'
|
- '.github/FUNDING.yml'
|
||||||
- '.github/ISSUE_TEMPLATE/**'
|
- '.github/ISSUE_TEMPLATE/**'
|
||||||
- '.github/pull_request_template.md'
|
- '.github/pull_request_template.md'
|
||||||
- 'LICENSE'
|
- '.gitignore'
|
||||||
|
- 'LICENSE*'
|
||||||
- 'ATTRIBUTION.md'
|
- 'ATTRIBUTION.md'
|
||||||
- 'docs/**'
|
- 'SECURITY.md'
|
||||||
|
- 'CODE_OF_CONDUCT.md'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|||||||
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
@@ -6,6 +6,19 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- 'package.json'
|
- 'package.json'
|
||||||
- 'package.runtime.json'
|
- 'package.runtime.json'
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
|
- '**.txt'
|
||||||
|
- 'docs/**'
|
||||||
|
- 'examples/**'
|
||||||
|
- '.github/FUNDING.yml'
|
||||||
|
- '.github/ISSUE_TEMPLATE/**'
|
||||||
|
- '.github/pull_request_template.md'
|
||||||
|
- '.gitignore'
|
||||||
|
- 'LICENSE*'
|
||||||
|
- 'ATTRIBUTION.md'
|
||||||
|
- 'SECURITY.md'
|
||||||
|
- 'CODE_OF_CONDUCT.md'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|||||||
26
.github/workflows/test.yml
vendored
26
.github/workflows/test.yml
vendored
@@ -2,8 +2,34 @@ name: Test Suite
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main, feat/comprehensive-testing-suite]
|
branches: [main, feat/comprehensive-testing-suite]
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
|
- '**.txt'
|
||||||
|
- 'docs/**'
|
||||||
|
- 'examples/**'
|
||||||
|
- '.github/FUNDING.yml'
|
||||||
|
- '.github/ISSUE_TEMPLATE/**'
|
||||||
|
- '.github/pull_request_template.md'
|
||||||
|
- '.gitignore'
|
||||||
|
- 'LICENSE*'
|
||||||
|
- 'ATTRIBUTION.md'
|
||||||
|
- 'SECURITY.md'
|
||||||
|
- 'CODE_OF_CONDUCT.md'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
|
- '**.txt'
|
||||||
|
- 'docs/**'
|
||||||
|
- 'examples/**'
|
||||||
|
- '.github/FUNDING.yml'
|
||||||
|
- '.github/ISSUE_TEMPLATE/**'
|
||||||
|
- '.github/pull_request_template.md'
|
||||||
|
- '.gitignore'
|
||||||
|
- 'LICENSE*'
|
||||||
|
- 'ATTRIBUTION.md'
|
||||||
|
- 'SECURITY.md'
|
||||||
|
- 'CODE_OF_CONDUCT.md'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
Reference in New Issue
Block a user