From 05ceb8e0428ad192a5713ec4aae9ff15be41ef28 Mon Sep 17 00:00:00 2001 From: josh Date: Sun, 19 Apr 2026 21:08:26 -0400 Subject: [PATCH] ci(release): skip release workflow for non-bundle changes Adds a paths-ignore filter to the push trigger so README tweaks, *_test.go edits, other workflows, and fake-binary scaffolding no longer spend 45 min debootstrapping + republishing an identical bundle to the package registry. Adds workflow_dispatch as a manual escape hatch for the cases where paths-ignore swallows something that needs republishing. Co-Authored-By: Claude Opus 4.7 --- .gitea/workflows/release.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 5116a11..842759f 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -12,6 +12,20 @@ name: Release on: push: branches: [main] + paths-ignore: + - '**/*.md' + - '**/*_test.go' + - 'docs/**' + - 'test/**' + - 'tools/**' + - 'agent/tests/fakes/**' + - '.gitea/workflows/ci.yml' + - '.gitea/workflows/e2e.yml' + - 'deploy/proxmox-install.sh' + - 'deploy/vetting.example.yaml' + - '.gitignore' + - 'LICENSE' + workflow_dispatch: permissions: contents: read