File tree Expand file tree Collapse file tree 4 files changed +73
-0
lines changed
Expand file tree Collapse file tree 4 files changed +73
-0
lines changed Original file line number Diff line number Diff line change 1111hotfix :
1212 - head-branch : ["^hotfix/"]
1313
14+ refactor :
15+ - head-branch : ["^refactor/"]
16+
1417release :
1518 - head-branch : ["^release/"]
Original file line number Diff line number Diff line change 1+ name-template : " v$RESOLVED_VERSION 🌈"
2+ tag-template : " v$RESOLVED_VERSION"
3+
4+ categories :
5+ - title : " 🚀 Features"
6+ labels :
7+ - " feature"
8+ - title : " 🐛 Bug Fixes"
9+ labels :
10+ - " fix"
11+ - " hotfix"
12+ - title : " 🔧 Refactoring"
13+ label : " refactor"
14+ - title : " 📖 Documentation"
15+ label : " documentation"
16+
17+ change-template : " - $TITLE @$AUTHOR (#$NUMBER)"
18+
19+ change-title-escapes : ' \<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
20+
21+ version-resolver :
22+ major :
23+ labels :
24+ - " major"
25+ minor :
26+ labels :
27+ - " minor"
28+ patch :
29+ labels :
30+ - " patch"
31+ default : patch
32+
33+ template : |
34+ ## Changes
35+ $CHANGES
Original file line number Diff line number Diff line change 4343 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4444 tags : |
4545 type=ref,event=branch
46+ type=semver,pattern={{version}}
4647 type=sha,prefix={{branch}}-
4748 type=raw,value=latest,enable={{is_default_branch}}
4849 labels : |
Original file line number Diff line number Diff line change 1+ name : Create Release 🚀
2+
3+ on :
4+ pull_request :
5+ types : [closed]
6+ branches :
7+ - main
8+
9+ jobs :
10+ create-release :
11+ name : Create Release
12+ if : github.event.pull_request.merged == true && contains(github.head_ref, 'release/')
13+
14+ runs-on : ubuntu-latest
15+
16+ permissions :
17+ contents : write
18+ pull-requests : read
19+
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v6
23+
24+ - uses : release-drafter/release-drafter@v6
25+ with :
26+ config-name : release-drafter.yml
27+ disable-autolabeler : true
28+ name : Release ${{ env.VERSION }}
29+ publish : true
30+ tag : ${{ env.VERSION }}
31+ version : ${{ env.VERSION }}
32+ env :
33+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34+ VERSION : ${{ github.event.pull_request.title }}
You can’t perform that action at this time.
0 commit comments