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:
26
.github/workflows/docker-build-n8n.yml
vendored
26
.github/workflows/docker-build-n8n.yml
vendored
@@ -6,9 +6,35 @@ on:
|
||||
- main
|
||||
tags:
|
||||
- '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:
|
||||
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:
|
||||
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user