ci: skip image rebuild on docs/example-only changes (paths-ignore)
Build & push image / build-and-push (push) Successful in 5s
Build & push image / build-and-push (push) Successful in 5s
Tag pushes (v*) bypass path filters, so releases always build. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -19,8 +19,22 @@ on:
|
||||
push:
|
||||
branches: [main]
|
||||
tags: ["v*"]
|
||||
# Docs/example-only changes don't change the image — skip the rebuild.
|
||||
# (Path filters are not applied to tag pushes, so `v*` releases always build.)
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "examples/**"
|
||||
- "LICENSE"
|
||||
- ".gitignore"
|
||||
- ".dockerignore"
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "examples/**"
|
||||
- "LICENSE"
|
||||
- ".gitignore"
|
||||
- ".dockerignore"
|
||||
workflow_dispatch: {}
|
||||
|
||||
concurrency:
|
||||
|
||||
Reference in New Issue
Block a user