ci(release): skip release workflow for non-bundle changes
CI / Lint + build + test (push) Successful in 1m41s
Release / release (push) Successful in 16m47s

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 <noreply@anthropic.com>
This commit is contained in:
2026-04-19 21:08:26 -04:00
parent 988448664a
commit 05ceb8e042
+14
View File
@@ -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