Skip to content

Commit 0351df2

Browse files
authored
ci: Bump Curator release workflow to include generated changelog (#1522)
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
1 parent c626c1d commit 0351df2

File tree

3 files changed

+32
-353
lines changed

3 files changed

+32
-353
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"categories": [],
3+
"ignore_labels": [
4+
"ignore"
5+
],
6+
"sort": "ASC",
7+
"template": "\n${{CHANGELOG}}\n\n<details><summary>Changelog Details</summary>\n\n${{UNCATEGORIZED}}\n</details>\n",
8+
"pr_template": "- ${{TITLE}} by @${{AUTHOR}} :: PR: #${{NUMBER}}",
9+
"commit_template": "- ${{TITLE}} by @${{AUTHOR}}",
10+
"empty_template": "${{OWNER}}\n${{REPO}}\n${{FROM_TAG}}\n${{TO_TAG}}",
11+
"duplicate_filter": {
12+
"pattern": ".+",
13+
"on_property": "title",
14+
"method": "match"
15+
},
16+
"transformers": [],
17+
"max_tags_to_fetch": 100,
18+
"max_pull_requests": 500,
19+
"max_back_track_time_days": 365,
20+
"exclude_merge_branches": [],
21+
"tag_resolver": {
22+
"method": "semver"
23+
}
24+
}

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,27 @@ on:
2626
required: true
2727
default: true
2828
type: boolean
29+
generate-changelog:
30+
description: Generate changelog
31+
required: false
32+
default: true
33+
type: boolean
2934
version-bump-branch:
3035
type: string
3136
required: true
3237
description: Branch to target for version bump
3338
jobs:
3439
release:
35-
uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_release_library.yml@v0.40.0
40+
uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_release_library.yml@v0.73.0
3641
with:
3742
release-ref: ${{ inputs.release-ref }}
3843
python-package: nemo_curator
3944
python-version: "3.10"
4045
library-name: NeMo Curator
4146
dry-run: ${{ inputs.dry-run }}
4247
version-bump-branch: ${{ inputs.version-bump-branch }}
48+
gh-release-use-changelog-builder: ${{ inputs.generate-changelog }}
49+
publish-docs: false
4350
secrets:
4451
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
4552
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}

0 commit comments

Comments
 (0)