Skip to content

Commit 8bd3785

Browse files
veithlycursoragent
andcommitted
feat: add path filters to CI/Release workflows
Release only triggers when frontend/backend source files change. CI ignores docs, scripts, images, and config files. This prevents unnecessary builds on documentation-only updates. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 4b40ab0 commit 8bd3785

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,14 @@ on:
88
paths-ignore:
99
- '**.md'
1010
- 'docs/**'
11+
- 'scripts/**'
1112
- '.github/ISSUE_TEMPLATE/**'
13+
- 'LICENSE'
14+
- '.gitignore'
15+
- '*.svg'
16+
- '*.png'
17+
- 'AGENTS.md'
18+
- 'CLAUDE.md'
1219

1320
concurrency:
1421
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ on:
55
branches:
66
- master
77
- main
8+
paths:
9+
- 'src/**'
10+
- 'src-tauri/**'
11+
- 'package.json'
12+
- 'package-lock.json'
13+
- 'tsconfig*.json'
14+
- 'vite.config.ts'
15+
- 'tailwind.config.js'
16+
- 'postcss.config.js'
17+
- 'Cargo.toml'
18+
- 'Cargo.lock'
19+
- '.github/workflows/release.yml'
820
tags:
921
- 'v*'
1022
workflow_dispatch:

0 commit comments

Comments
 (0)