-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(semrel): Add the Semantic-Release workflow
- Loading branch information
Showing
5 changed files
with
128 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# This workflow check pull-requests commit message validity | ||
name: "Check Commit message for Semantic validity" | ||
|
||
on: | ||
# this workflow triggers only on Pull Requests | ||
pull_request: | ||
branches: [ master, beta, dev ] | ||
types: [ opened, reopened, synchronize, edited ] | ||
|
||
jobs: | ||
# one single job, import from jeedom/workflows | ||
checkCommit: | ||
# https://github.com/jeedom/workflows/blob/main/.github/workflows/checkCommit.yml | ||
uses: jeedom/workflows/.github/workflows/checkCommit.yml@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# this workflow runs Semantic-Release on current branch | ||
# - list new commits with conventional-commit messages | ||
# - update changelog.md (or changelog_beta.md) | ||
# - update version number into plugin_info/info.json | ||
# - generate a new tag with the new version | ||
# - publish a new Github package | ||
# - generate vars.env file with the version number for future workflow steps | ||
name: Semantic Release | ||
|
||
on: | ||
push: | ||
branches: [ master, beta, dev ] | ||
pull_request: | ||
branches: [ master, beta, dev ] | ||
# this is to manually trigger the worklow | ||
workflow_dispatch: | ||
inputs: | ||
logLevel: | ||
description: 'Reason' | ||
default: 'Manual launch' | ||
|
||
env: | ||
# branch name must be 'beta' for beta branch | ||
BRANCH_NAME: ${{ github.ref_name }} | ||
|
||
jobs: | ||
# one single job, import from jeedom/workflows | ||
release: | ||
# https://github.com/jeedom/workflows/blob/main/.github/workflows/semantic-release.yml | ||
uses: jeedom/workflows/.github/workflows/semantic-release.yml@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Changelog plugin template - beta | ||
|
||
# 19/01/2022 | ||
|
||
- Optimisations V4.2 | ||
|
||
# 20/11/2020 | ||
|
||
- Présentation officielle V4 | ||
- Ajouts d'éléments d'informations et de paramètres pour les commandes | ||
|
||
# 16/11/2020 | ||
|
||
- version minimale Jeedom: 3.3.39 (dernière MAJ critique) | ||
|
||
# 04/11/2020 | ||
|
||
- Nouvelle présentation de la liste des objets | ||
|
||
# 07/08/2020 | ||
|
||
- Ajout de commentaires | ||
|
||
# 17/05/2020 | ||
|
||
- Mise à jour de la documentation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters