mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 01:30:33 +00:00
ci: fix workflows triggering on documentation-only changes (#111)
- Fix performance.yml: now ignores *.md, README*, and docs/** - Fix build.yml: now ignores documentation files and images - Fix docker.yml: prevent Docker builds on README changes - Replace 'paths:' with 'paths-ignore:' to properly exclude docs - Reduces unnecessary CI runs for documentation-only PRs This resolves the issue where README changes triggered expensive CI pipelines including Performance Testing and Docker builds.
This commit is contained in:
18
.github/workflows/performance.yml
vendored
18
.github/workflows/performance.yml
vendored
@@ -17,11 +17,19 @@ name: Performance Testing
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- "rustfs/**"
|
||||
- "crates/**"
|
||||
- "Cargo.toml"
|
||||
- "Cargo.lock"
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "**.txt"
|
||||
- "docs/**"
|
||||
- "deploy/**"
|
||||
- "scripts/dev_*.sh"
|
||||
- "LICENSE*"
|
||||
- "README*"
|
||||
- "**/*.png"
|
||||
- "**/*.jpg"
|
||||
- "**/*.svg"
|
||||
- ".gitignore"
|
||||
- ".dockerignore"
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
profile_duration:
|
||||
|
||||
Reference in New Issue
Block a user