From 676c9d4f077239d76aab9d27754aa24d1c1baf9e Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Thu, 25 Jun 2026 19:10:24 -0400 Subject: [PATCH] ci: skip image rebuild on docs/example-only changes (paths-ignore) Tag pushes (v*) bypass path filters, so releases always build. Co-Authored-By: Claude Opus 4.8 (1M context) --- .gitea/workflows/build-image.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index 6ed0bc2..d1c0695 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -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: