feat: Add Semantic-Release workflow #64
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Workflow Semantic-Relese
Gère automatiquement le numéro de version du repo, sur les branches master et beta.
checkCommit.yml : lors d'un PR, vérifie que les messages des derniers commit respecte la convention semantic-release. Affiche un feu vert / feu rouge, mais non bloquant (on peut quand même merger la PR)
semantic-release.yml : exécute semantic-release sur la branche, applique les modifications et push s'il y a lieu. Nécessite les droits write sur le repo.
https://community.jeedom.com/t/semantic-release-et-le-versioning-automatique/112008
Modifications automatiques gérées:
Nécessite d'ajouter la permission "write" sur le workflow, car il push les modifications (changelog, numéro de version...) sur un commit distinct.
Suggested changelog entry
Le titre du commit sera automatiquement reporté dans le changelog
Types of changes
PR checklist