Skip to content

Commit bdf87af

Browse files
committed
Work CI-CD
- Add github action to generate changelog on tag. ***NO_CI***
1 parent 099e0b1 commit bdf87af

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed

.github/.changelog-config.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"categories": [
3+
{
4+
"title": "## New Features and enhancements",
5+
"labels": [
6+
"Type: enhancement"
7+
],
8+
"exhaustive": true
9+
},
10+
{
11+
"title": "## Bug Fixes",
12+
"labels": [
13+
"Type: bug"
14+
],
15+
"exhaustive": true
16+
},
17+
{
18+
"title": "## Documentation",
19+
"labels": [
20+
"Type: documentation"
21+
],
22+
"exhaustive": true
23+
},
24+
{
25+
"title": "## ⚠️ Breaking Changes",
26+
"labels": [
27+
"Breaking-Change"
28+
],
29+
"exhaustive": true
30+
},
31+
{
32+
"title": "## Updated dependencies",
33+
"labels": [
34+
"Type: dependencies"
35+
],
36+
"exhaustive": true
37+
}
38+
],
39+
"sort": "ASC",
40+
"template": "${{CHANGELOG}}\n\n**Full Changelog:** ${{RELEASE_DIFF}}\n\n<h4>Install from nuget.org</h4>\nThe following NuGet package is available from this release:\n\n:package: [nanoFramework.Networking.Thread](https://www.nuget.org/packages/nanoFramework.Networking.Thread/)",
41+
"pr_template": "* ${{TITLE}} by @${{AUTHOR}} in #${{NUMBER}}",
42+
"empty_template": "- no changes",
43+
"max_tags_to_fetch": 200,
44+
"max_pull_requests": 200
45+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright (c) .NET Foundation and Contributors
2+
# See LICENSE file in the project root for full license information.
3+
4+
name: Build changelog
5+
6+
on:
7+
push:
8+
tags:
9+
- '*'
10+
repository_dispatch:
11+
types: generate-changelog
12+
13+
jobs:
14+
compose_changelog:
15+
name: nanoFramework
16+
uses: nanoframework/nf-tools/.github/workflows/generate-changelog.yml@main
17+
secrets: inherit

0 commit comments

Comments
 (0)