File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 # branches to consider in the event; optional, defaults to all
66 branches :
77 - $default-branch
8+ - main
89
910jobs :
1011 update_release_draft :
1112 runs-on : ubuntu-latest
1213 steps :
1314 # Drafts your next Release notes as Pull Requests are merged into "master"
14- - uses : release-drafter/release-drafter@v5
15+ - uses : release-drafter/release-drafter@v6
1516 with :
1617 config-name : release-drafter.yml
1718 env :
Original file line number Diff line number Diff line change 2828 # generate a github release
2929 - name : Generate release changelog
3030 id : changelog
31- uses : heinrichreimer/github-changelog-generator-action@v2.1.1
31+ uses : heinrichreimer/github-changelog-generator-action@v2.4
3232 with :
3333 token : ${{ secrets.GITHUB_TOKEN }}
3434 cacheFile : ' .github-changelog-cache'
4242 output : LATEST_RELEASE.md
4343 - name : Read latest_release.md
4444 id : release_changelog
45+ if : ${{ hashFiles('LATEST_RELEASE.md') != '' }}
4546 uses : juliangruber/read-file-action@v1
4647 with :
4748 path : ./LATEST_RELEASE.md
You can’t perform that action at this time.
0 commit comments