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 <noreply@anthropic.com>
This commit is contained in:
@@ -12,6 +12,20 @@ name: Release
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
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:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
Reference in New Issue
Block a user