Skip to content

Commit bbea477

Browse files
committed
ci: update release notes workflow for GitHub releases
1 parent fa5db31 commit bbea477

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/release_notes.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
name: Create GitHub Release from Commit Message
1+
name: Create Release Notes
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
release:
5+
types: [created]
76

87
jobs:
98
create-release-notes:
@@ -35,6 +34,6 @@ jobs:
3534
draft: false
3635
prerelease: false
3736
make_latest: 'true'
38-
token: ${{ secrets.TEMPO_TOKEN }}
37+
token: ${{ secrets.GOASTER_TOKEN }}
3938
body_path: ${{ github.workspace }}/.changes/${{ steps.extract_version.outputs.version }}.md
4039
generate_release_notes: false

0 commit comments

Comments
 (0)