mirror of
https://github.com/RavenX8/companion-module-voicemod.git
synced 2026-04-03 12:58:52 -04:00
### Test
- trying out the changelog builder
This commit is contained in:
46
.github/config/changelog_configuration.json
vendored
Normal file
46
.github/config/changelog_configuration.json
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"categories": [
|
||||
{
|
||||
"title": "## 🚀 Added",
|
||||
"labels": ["feature", "added"]
|
||||
},
|
||||
{
|
||||
"title": "## 🧪 Changed",
|
||||
"labels": ["change", "changes", "updated"]
|
||||
},
|
||||
{
|
||||
"title": "## Deprecated",
|
||||
"labels": ["deprecated"]
|
||||
},
|
||||
{
|
||||
"title": "## Removed",
|
||||
"labels": ["remove", "removed"]
|
||||
},
|
||||
{
|
||||
"title": "## 🐛 Fixed",
|
||||
"labels": ["fix", "fixed", "fixes"]
|
||||
},
|
||||
{
|
||||
"title": "## 🧪 Tests",
|
||||
"labels": ["test"]
|
||||
},
|
||||
{
|
||||
"title": "## Security",
|
||||
"labels": ["security", "vulnerability"]
|
||||
}
|
||||
],
|
||||
"ignore_labels": [
|
||||
"ignore",
|
||||
"ci"
|
||||
],
|
||||
"template": "${{CHANGELOG}}",
|
||||
"empty_template": "- no changes",
|
||||
"transformers": [
|
||||
{
|
||||
"pattern": "[\\-\\*] (\\[(...|TEST|CI|SKIP)\\])( )?(.+?)\n(.+?[\\-\\*] )(.+)",
|
||||
"target": "- $4\n - $6"
|
||||
}
|
||||
],
|
||||
"exclude_merge_branches": [],
|
||||
"base_branches": []
|
||||
}
|
||||
27
.github/workflows/changelog_builder.yml
vendored
Normal file
27
.github/workflows/changelog_builder.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: PR Changelog builder
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
pull_request:
|
||||
types: [opened, reopened]
|
||||
|
||||
jobs:
|
||||
changelogBuilder:
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Release Changelog Builder
|
||||
id: github_release
|
||||
uses: mikepenz/release-changelog-builder-action@v4.1.1
|
||||
with:
|
||||
configuration: ".github/config/changelog_configuration.json"
|
||||
commitMode: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||
ignorePreReleases: ${{ !contains(github.ref, '-') }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
# - name: Update Pull Request Description
|
||||
# uses: riskledger/update-pr-description@v2
|
||||
# with:
|
||||
# body: ${{steps.github_release.outputs.changelog}}
|
||||
# token: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user