mirror of
https://github.com/kiegroup/git-backporting.git
synced 2025-07-19 21:18:20 +02:00
style(issue-15): setup convetional commits standards (#20)
* style(issue-15): setup convetional commits standards * ci(changelog): automated changelog generation * docs: remove changelog checkbox in pr template
This commit is contained in:
parent
710d79fff8
commit
854f116a74
8 changed files with 1898 additions and 9 deletions
2
.github/pull_request_template.md
vendored
2
.github/pull_request_template.md
vendored
|
@ -14,7 +14,7 @@ changes that span multiple kiegroup repositories and depend on each other. -->
|
|||
-->
|
||||
|
||||
### Checklist
|
||||
- [ ] Tests added if applicable.
|
||||
- [ ] Documentation updated if applicable.
|
||||
- [ ] Changelog updated if applicable.
|
||||
|
||||
> **Note:** `dist/cli/index.js` and `dist/gha/index.js` are automatically generated by git hooks and gh workflows.
|
||||
|
|
27
.github/workflows/changelog.yml
vendored
Normal file
27
.github/workflows/changelog.yml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
name: Generate changelog
|
||||
on:
|
||||
release:
|
||||
types: [created, edited]
|
||||
push:
|
||||
branches: [$default-branch]
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
# Allow one concurrent deployment
|
||||
concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
generate-changelog:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: BobAnkh/auto-generate-changelog@master
|
||||
with:
|
||||
ACCESS_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
PATH: 'CHANGELOG.md'
|
||||
COMMIT_MESSAGE: 'docs(changelog): update release notes'
|
||||
TYPE: 'feat:Feature,fix:Bug Fixes,docs:Documentation,refactor:Refactor,perf:Performance Improvements'
|
Loading…
Add table
Add a link
Reference in a new issue