Skip to content

Commit 17ffa86

Browse files
authored
Automate the process of generating release changelog, by using labels on PRs (#241)
1 parent 2a13d2e commit 17ffa86

File tree

3 files changed

+74
-1
lines changed

3 files changed

+74
-1
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"max_tags_to_fetch": 200,
3+
"max_pull_requests": 200,
4+
"max_back_track_time_days": 365,
5+
"exclude_merge_branches": [],
6+
"sort": "ASC",
7+
"template": "${{CHANGELOG}}",
8+
"pr_template": "* ${{TITLE}} by @${{AUTHOR}} (#${{NUMBER}})",
9+
"empty_template": "- no changes",
10+
"categories": [
11+
{
12+
"title": "## Features",
13+
"labels": ["feature", "enhancement"]
14+
},
15+
{
16+
"title": "## API-Alignment\n\nAdjust API to match as much as possible to the one of [@neo4j/graphql](https://github.com/neo4j/graphql)",
17+
"labels": ["API-Alignment"]
18+
},
19+
{
20+
"title": "## Fixes",
21+
"labels": ["fix"]
22+
},
23+
{
24+
"title": "## Documentation",
25+
"labels": ["doc"]
26+
},
27+
{
28+
"title": "## Tests",
29+
"labels": ["test"]
30+
}
31+
],
32+
"ignore_labels": [
33+
"ignore", "dependencies"
34+
],
35+
"label_extractor": [ ],
36+
"duplicate_filter": null,
37+
"transformers": [],
38+
"tag_resolver": {
39+
"method": "semver"
40+
},
41+
"base_branches": []
42+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build release changelog
2+
3+
on:
4+
push:
5+
tags :
6+
- '*'
7+
jobs:
8+
build:
9+
name: Build Changelog
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out repository code
13+
uses: actions/checkout@v2
14+
with :
15+
fetch-depth : 0
16+
- name : Build Changelog
17+
id : build_changelog
18+
uses : mikepenz/release-changelog-builder-action@v1
19+
with :
20+
configuration : ".github/workflows/changelog-configuration.json"
21+
env :
22+
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23+
- name: update release
24+
id: update_release
25+
uses: tubone24/update_release@v1.2.0
26+
env:
27+
GITHUB_TOKEN: ${{ github.token }}
28+
TAG_NAME: ${{steps.build_changelog.outputs.toTag}}
29+
with:
30+
release_name: Release ${{steps.build_changelog.outputs.toTag}}
31+
body: ${{steps.build_changelog.outputs.changelog}}

readme.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ For complex examples take a look at our link:examples/readme.adoc[example projec
2828

2929
== API compatibility to @neo4j/graphql
3030

31-
Since the javascript pendant of this library (neo4j-graphql-js) has majored into a neo4j product, we want to migrate our augmented schema, to match as much as possible to the one of the https://github.com/neo4j/graphql-tracker-temp[`@neo4j/graphql`].
31+
Since the javascript pendant of this library (neo4j-graphql-js) has majored into a neo4j product, we want to migrate our augmented schema, to match as much as possible to the one of the https://github.com/neo4j/graphql[`@neo4j/graphql`].
3232
Therefore, we created a https://github.com/neo4j-graphql/neo4j-graphql-java/issues?q=label%3AAPI-Alignment[list of issues to track progress].
3333

3434
We will try to make the migration as smooth as possible. For this purpose we will support the old, and the new way of schema augmentation until the next major release.

0 commit comments

Comments
 (0)