GRM-42: fix: clean up infrastructure-only releases and fix release classification

This commit is contained in:
2026-06-21 21:46:37 +00:00
parent 2ca56ed317
commit 60c94b2b93
5 changed files with 23 additions and 73 deletions
+9 -8
View File
@@ -17,9 +17,8 @@ Classification strategy (safe-by-default):
Workflow-only paths (infrastructure → no release needed):
- .gitea/workflows/** — Gitea Actions workflows
- scripts/ci/**CI/CD automation scripts
- scripts/*.sh — Shell scripts (setup, molecule runners)
- scripts/__init__.py — Package init for scripts
- scripts/** All scripts (CI/CD, dev tools, setup)
- src/gitea_runner_manager/__init__.py — Version file (release artifact)
- docs/** — Documentation
- tests/** — Test files
- hooks/** — Git hooks
@@ -38,7 +37,7 @@ Classification strategy (safe-by-default):
Everything else is user-facing (tool changes → release needed),
including but not limited to:
- src/gitea_runner_manager/** — Python CLI source
- src/gitea_runner_manager/*.py — Python CLI source (except __init__.py)
- ansible/** — Ansible role
- pyproject.toml — Package metadata
- Any new file type not in the allowlist
@@ -63,10 +62,12 @@ WORKFLOW_ONLY_PATTERNS = frozenset(
[
# CI/CD infrastructure
".gitea/",
"scripts/ci/",
"scripts/setup.sh",
"scripts/molecule_all.sh",
"scripts/__init__.py",
# All scripts are infrastructure (CI/CD, dev tools, setup)
# User-facing code lives in src/gitea_runner_manager/
"scripts/",
# Version file — only contains __version__, not user-facing code.
# Version bumps are a release artifact, not a feature.
"src/gitea_runner_manager/__init__.py",
# Documentation
"docs/",
"AGENTS.md",