File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name-template: '$RESOLVED_VERSION'
22tag-template : ' $RESOLVED_VERSION'
33version-template : ' 3.$MINOR.$PATCH'
44filter-by-commitish : true
5- commitish : v3
5+ commitish : main
66categories :
77 - title : ' 🚀 Features'
88 labels :
Original file line number Diff line number Diff line change 66 # branches to consider in the event; optional, defaults to all
77 branches :
88 - master
9- - v3
9+ - main
1010 # pull_request event is required only for autolabeler
1111 pull_request :
1212 branches :
1313 - master
14- - v3
14+ - main
1515 # Only following types are handled by the action, but one can default to all as well
1616 types :
1717 - opened
2121 pull_request_target :
2222 branches :
2323 - master
24- - v3
24+ - main
2525 types :
2626 - opened
2727 - reopened
@@ -45,14 +45,14 @@ jobs:
4545 - name : Determine config file
4646 id : config
4747 run : |
48- if [[ "${{ github.ref }}" == "refs/heads/v3 " ]] || [[ "${{ github.base_ref }}" == "v3 " ]]; then
49- echo "config-name=release-drafter-v3 .yml" >> $GITHUB_OUTPUT
48+ if [[ "${{ github.ref }}" == "refs/heads/main " ]] || [[ "${{ github.base_ref }}" == "main " ]]; then
49+ echo "config-name=release-drafter-main .yml" >> $GITHUB_OUTPUT
5050 else
5151 echo "config-name=release-drafter.yml" >> $GITHUB_OUTPUT
5252 fi
5353
54- # Drafts your next Release notes as Pull Requests are merged into "master" or "v3 "
55- - uses : release-drafter/release-drafter@v7.0.0
54+ # Drafts your next Release notes as Pull Requests are merged into "master" or "main "
55+ - uses : release-drafter/release-drafter@v7.1.1
5656 # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
5757 with :
5858 config-name : ${{ steps.config.outputs.config-name }}
You can’t perform that action at this time.
0 commit comments