Skip to content

Commit e22b079

Browse files
authored
Meta: Automatically generate release notes again /2 (refined-github#5243)
1 parent e106e24 commit e22b079

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ jobs:
3030
- uses: fregante/daily-version-action@v1
3131
name: Create tag if necessary
3232
id: daily-version
33+
- if: steps.daily-version.outputs.created
34+
name: Create release
35+
uses: actions/github-script@v5.0.0
36+
with:
37+
github-token: ${{ secrets.GITHUB_TOKEN }}
38+
script: |
39+
await github.request(`POST /repos/${{ github.repository }}/releases`, {
40+
tag_name: "${{ steps.daily-version.outputs.version }}",
41+
generate_release_notes: true
42+
});
3343
3444
Submit:
3545
needs: Version

0 commit comments

Comments
 (0)