Skip to content

Commit 7917b42

Browse files
author
Aigars Silkalns
committed
ci: replace defunct endaft/action-changelog with action-gh-release auto-notes
endaft/action-changelog has been removed from GitHub (returns 404 on the action checkout step), which broke every release workflow run since rc4. Switches the Release step to use softprops/action-gh-release@v2's built-in generate_release_notes: true option, which pulls the autogenerated PR/commit summary from GitHub's release-notes API. Same outcome, no dependency on a deleted third-party action.
1 parent 3143252 commit 7917b42

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,13 @@ jobs:
3838
with:
3939
args: "zip -qq -r admin-lte-${{env.RELEASE_VERSION}}.zip dist"
4040

41-
- name: Create changelog text
42-
id: changelog
43-
uses: endaft/action-changelog@v0.0.5
44-
with:
45-
token: ${{ secrets.GITHUB_TOKEN }}
46-
exclude_types: other,doc,chore
47-
4841
- name: Release
4942
uses: softprops/action-gh-release@v2
5043
if: startsWith(github.ref, 'refs/tags/')
5144
with:
52-
body: ${{ steps.changelog.outputs.changelog }}
45+
# Let GitHub auto-generate the release notes from PRs / commits
46+
# since the previous tag. Replaces the discontinued
47+
# endaft/action-changelog action.
48+
generate_release_notes: true
5349
files: |
5450
admin-lte-${{env.RELEASE_VERSION}}.zip

0 commit comments

Comments
 (0)