Skip to content

Commit 8c12ef9

Browse files
authored
ci: generate CHANGELOG on release draft (#696)
* ci: generate CHANGELOG on release draft Run ROKT/rokt-workflows generate-changelog after mavenLocal smoke; use default tag-prefix so semver matches VERSION and GitHub release tags. Made-with: Cursor * ci: pin generate-changelog action to commit SHA Semgrep blocks mutable @main and unpinned third-party actions; use ROKT/rokt-workflows@c5c93e9. Made-with: Cursor
1 parent 2b4cf31 commit 8c12ef9

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/release-draft.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,17 @@ jobs:
6363
- name: Publish to Maven local (smoke test)
6464
run: ./gradlew publishMavenPublicationToMavenLocal -PVERSION=${{ steps.bump-version.outputs.new_version }}
6565

66+
- name: Generate changelog entry
67+
id: changelog
68+
# Pinned SHA for Semgrep (no mutable @main); bump when upgrading the action.
69+
uses: ROKT/rokt-workflows/actions/generate-changelog@c5c93e92107c520fb8b8cf71070995abdf4c403f
70+
with:
71+
version: ${{ steps.bump-version.outputs.new_version }}
72+
repo-url: https://github.com/${{ github.repository }}
73+
changelog-path: CHANGELOG.md
74+
exclude-types: chore,ci,test,build
75+
kits-path: kits
76+
6677
- name: Create Pull Request
6778
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
6879
with:

0 commit comments

Comments
 (0)