File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : tagpr
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ permissions :
9+ contents : write
10+ pull-requests : write
11+
12+ jobs :
13+ tagpr :
14+ name : Tag and Release PR
15+ runs-on : ubuntu-latest
16+ outputs :
17+ tagpr-tag : ${{ steps.tagpr.outputs.tag }}
18+ steps :
19+ - name : Checkout code
20+ uses : actions/checkout@v4
21+
22+ - name : Run tagpr
23+ id : tagpr
24+ uses : Songmu/tagpr@v1
25+ env :
26+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27+
28+ - name : Output tag info
29+ if : steps.tagpr.outputs.tag != ''
30+ run : |
31+ echo "Created tag: ${{ steps.tagpr.outputs.tag }}"
Original file line number Diff line number Diff line change 1+ [tagpr]
2+ releaseBranch = "main"
3+ versionFile = "Cargo.toml"
4+ vPrefix = true
5+ changelog = true
6+ release = true
7+ majorLabels = tagpr:major
8+ minorLabels = tagpr:minor
You can’t perform that action at this time.
0 commit comments