From 142fee02777bf8990a0ed92cfe2a681b23b231f6 Mon Sep 17 00:00:00 2001 From: Marcin Procyk Date: Tue, 7 Nov 2023 10:33:58 +0100 Subject: [PATCH] build(release-please): Add missing PR title prefixes to the workflow (#2918) Signed-off-by: Marcin Procyk --- .github/pull_request_template.md | 8 ++++---- .github/workflows/create-release.yml | 9 +++++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index ca7de80187..e051bdd1db 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -10,15 +10,15 @@ Issue Number: DEV- ### PR Type -- [ ] chore: maintenance tasks (no production code change) +- [ ] build/chore: maintenance tasks (no production code change) - [ ] docs: documentation changes (no production code change) -- [ ] feat: represents a new feature +- [ ] feat: represents new features - [ ] fix: represents bug fixes - [ ] perf: performance improvements - [ ] refactor: represents production code refactoring -- [ ] test: all about tests: adding, refactoring tests (no production code change) +- [ ] test: adding or refactoring tests (no production code change) -### Basic Requirements for bug fixes and features +### Basic requirements for bug fixes and features - [ ] Tests for the changes have been added - [ ] Docs have been added / updated diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 82e0cbd18c..0cf439772e 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -20,11 +20,12 @@ jobs: package-name: dsp-api pull-request-title-pattern: "chore${scope}: Release${component} ${version}" changelog-types: '[ - {"type": "feat", "section": "Enhancements", "hidden": false }, - {"type": "fix", "section": "Bug Fixes", "hidden": false }, {"type": "build", "section": "Maintenance", "hidden": false }, {"type": "chore", "section": "Maintenance", "hidden": false }, - {"type": "test", "section": "Maintenance", "hidden": false }, + {"type": "docs", "section": "Documentation", "hidden": false }, + {"type": "feat", "section": "Enhancements", "hidden": false }, + {"type": "fix", "section": "Bug Fixes", "hidden": false }, + {"type": "perf", "section": "Enhancements", "hidden": false }, {"type": "refactor", "section": "Maintenance", "hidden": false }, - {"type": "docs", "section": "Documentation", "hidden": false } + {"type": "test", "section": "Maintenance", "hidden": false } ]'