- introduce updated action specification to try out different configurations of the action
This commit is contained in:
@@ -19,6 +19,23 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ./
|
||||
- name: "Minimal Configuration"
|
||||
id: minimal_release
|
||||
uses: ./
|
||||
|
||||
- name: Echo Minimal
|
||||
run: echo ${{steps.minimal_release.outputs.changelog}}
|
||||
|
||||
- name: "Complex Configuration"
|
||||
id: complex_release
|
||||
uses: ./
|
||||
with:
|
||||
milliseconds: 1000
|
||||
configuration: "configuration_complex.json"
|
||||
owner: "mikepenz"
|
||||
repo: "release-changelog-builder-action"
|
||||
fromTag: "0.0.1"
|
||||
toTag: "0.0.2"
|
||||
|
||||
- name: Echo Complex
|
||||
run: echo ${{steps.complex_release.outputs.changelog}}
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ inputs:
|
||||
configuration:
|
||||
required: true
|
||||
description: 'path to the configuration file'
|
||||
default: "configuration.json"
|
||||
path:
|
||||
description: 'the path to runt his action in'
|
||||
owner:
|
||||
|
||||
+2
-8
@@ -18,13 +18,7 @@
|
||||
}
|
||||
],
|
||||
"sort": "ASC",
|
||||
"template": "${{CHANGELOG}}\n\n<details>\n<summary>Uncategorized</summary>\n\n${{UNCATEGORIZED}}\n</details>",
|
||||
"template": "${{CHANGELOG}}",
|
||||
"pr_template": "- ${{TITLE}}\n - PR: #${{NUMBER}}",
|
||||
"empty_template": "- no changes",
|
||||
"transformers": [
|
||||
{
|
||||
"pattern": "[\\-\\*] (\\[(...|TEST|CI|SKIP)\\])( )?(.+?)\n(.+?[\\-\\*] )(.+)",
|
||||
"target": "- $4\n - $6"
|
||||
}
|
||||
]
|
||||
"empty_template": "- no changes"
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"categories": [
|
||||
{
|
||||
"title": "## 🚀 Features",
|
||||
"labels": ["feature"]
|
||||
},
|
||||
{
|
||||
"title": "## 🦄 Internal Features",
|
||||
"labels": ["internal"]
|
||||
},
|
||||
{
|
||||
"title": "## 🐛 Fixes",
|
||||
"labels": ["fix"]
|
||||
},
|
||||
{
|
||||
"title": "## 🧪 Tests",
|
||||
"labels": ["test"]
|
||||
}
|
||||
],
|
||||
"sort": "ASC",
|
||||
"template": "${{CHANGELOG}}\n\n<details>\n<summary>Uncategorized</summary>\n\n${{UNCATEGORIZED}}\n</details>",
|
||||
"pr_template": "- ${{TITLE}}\n - PR: #${{NUMBER}}",
|
||||
"empty_template": "- no changes",
|
||||
"transformers": [
|
||||
{
|
||||
"pattern": "[\\-\\*] (\\[(...|TEST|CI|SKIP)\\])( )?(.+?)\n(.+?[\\-\\*] )(.+)",
|
||||
"target": "- $4\n - $6"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user