Skip to content

Commit f3bb736

Browse files
committed
ci: skip Release workflow for docs-only changes
Add paths-ignore for markdown files, docs/, skills/, LICENSE, and .gitignore on push and pull_request triggers. Tag pushes are unaffected: GitHub bypasses path filters for newly created refs.
1 parent 806738d commit f3bb736

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,23 @@ on:
66
- main
77
tags:
88
- "v*"
9+
# Docs-only pushes skip CI. Tag pushes always run: path filters are
10+
# bypassed for newly created refs.
11+
paths-ignore:
12+
- "**.md"
13+
- "docs/**"
14+
- "skills/**"
15+
- "LICENSE"
16+
- ".gitignore"
917
pull_request:
1018
branches:
1119
- main
20+
paths-ignore:
21+
- "**.md"
22+
- "docs/**"
23+
- "skills/**"
24+
- "LICENSE"
25+
- ".gitignore"
1226
workflow_dispatch:
1327

1428
permissions:

0 commit comments

Comments
 (0)