diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..8793e1f --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,50 @@ + + + + +## Description + + + +### Suggested changelog entry + + + +### Related issues/external references + +Fixes # + + +## Types of changes + +- [ ] Bug fix _(non-breaking change which fixes)_ +- [ ] New feature _(non-breaking change which adds functionality)_ +- [ ] Breaking change _(fix or feature that would cause existing functionality to change)_ + - [ ] This change is only breaking for integrators, not for external standards or end-users. +- [ ] Documentation improvement + + +## PR checklist + +- [ ] I have checked there is no other PR open for the same change. +- [ ] I have read the [Contribution Guidelines](https://doc.jeedom.com/fr_FR/contribute/). +- [ ] I grant the project the right to include and distribute the code under the GNU. +- [ ] I have added tests to cover my changes. +- [ ] I have verified that the code complies with the projects coding standards. +- [ ] [Required for new sniffs] I have added MD documentation for the sniff. + + diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml new file mode 100644 index 0000000..08026e2 --- /dev/null +++ b/.github/workflows/prettier.yml @@ -0,0 +1,14 @@ +on: + # Create branch > prettier / this workflows create commit on branch prettier. + push: + branches: + - prettier + pull_request: + branches: + - prettier + +name : 'Prettier Plugin Jeedom' + +jobs: + prettier: + uses: jeedom/workflows/.github/workflows/prettier.yml@main diff --git a/.github/workflows/work.yml b/.github/workflows/work.yml new file mode 100644 index 0000000..c3daa8e --- /dev/null +++ b/.github/workflows/work.yml @@ -0,0 +1,21 @@ +on: + # Workflows check plugin Jeedom + push: + branches: + - beta + pull_request: + branches: + - beta + - master + +name : 'Test Plugin Jeedom' + +jobs: + codeLintGlobal: + uses: jeedom/workflows/.github/workflows/codeLintGlobal.yml@main + php73: + uses: jeedom/workflows/.github/workflows/lint_Php73.yml@main + php74: + uses: jeedom/workflows/.github/workflows/lint_Php74.yml@main + php: + uses: jeedom/workflows/.github/workflows/php.yml@main