Closes #321 Closes #323 ## Résumé - Ajoute un skill projet pour utiliser le MCP Infisical sans divulguer les valeurs et relie les workflows concernés. - Définit une évaluation automatique des releases et du SemVer, sans demander à l’utilisateur si une release est souhaitée ou quel numéro choisir. - Les docs/skills seules ne déclenchent pas de release. ## Évaluation de release Aucune release pour cette PR : elle ne contient que de la documentation et des skills. La version stable reste `1.0.0`; aucun tag ne sera créé. ## Validation - `git diff origin/main...HEAD --check` : réussi. - Inventaire Infisical limité aux noms de clés; aucune valeur secrète dans le diff. - Les checks Gitea de la première révision passaient; les nouveaux checks sont en cours après la mise à jour. - Tests applicatifs non exécutés : changement documentaire uniquement. Reviewed-on: #322 Co-authored-by: Arnaud Dartois <admin@tordais.cc>
2.9 KiB
name, description
| name | description |
|---|---|
| pr-release-versioning | Assess whether a Heimdall pull request needs a published release and select its SemVer increment from the change impact without asking the user. |
Pull request release assessment
Apply this assessment while preparing every Heimdall PR. Do not ask the user whether to release or which version to use. Record the decision, rationale, and proposed version in the PR description; update it if the diff changes.
Decide whether a release is needed
- No release for documentation, skills, tests, CI-only changes, refactors with no externally observable change, or internal tooling changes. State
Release: noand keep the current version unchanged. - Release required when the PR changes behavior shipped to Heimdall users or operators, published images/installers/Agent assets, compatibility contracts, or security fixes that users need to receive.
- Do not create a release tag for a PR. A release tag points to a commit on
main; assess the merged change after required checks pass and then follow the tag workflow inrelease-automation.
Select the version automatically
Use the latest stable SemVer tag reachable from the integration branch (MAJOR.MINOR.PATCH); ignore prerelease tags when selecting the stable base. For multiple merged, unreleased changes, assess all changes since that tag together and use the highest required increment.
- MAJOR for a breaking API, configuration, data, or install/upgrade compatibility change.
- MINOR for a backward-compatible user-facing capability or operator feature.
- PATCH for backward-compatible bug fixes, security fixes, performance fixes, and shipped compatibility corrections.
- No release-worthy changes means no tag and no version increment.
Increment only the selected component and reset lower components to zero. For example, from 1.4.7: breaking becomes 2.0.0, a compatible feature becomes 1.5.0, and a fix becomes 1.4.8. If no stable tag exists, use 1.0.0 as the base only when the repository's first-release policy confirms that baseline; otherwise report the missing baseline instead of inventing one.
PR and post-merge steps
- Put a short
Release assessmentsection in every PR:no release (reason)orrelease required; proposed version X.Y.Z (reason). - For no-release PRs, do not create or push a tag. Keep the version unchanged.
- For a release-required PR, determine the exact next version from the current
maintags after merge, verify it is unused, and create an annotated tag on the mergedmaincommit only after required CI succeeds. If another merge changes the base before tagging, recalculate from the latest stable tag and all unreleased changes. - Never overwrite or move an existing tag. If the change is prerelease-only or an emergency exception, explain the project-specific suffix/tag choice in the PR without asking the user to choose it.