Skip to content

Commit

Permalink
Merge pull request #101 from Songmu/fix-label-convention
Browse files Browse the repository at this point in the history
adjust label convention
  • Loading branch information
Songmu authored Sep 17, 2022
2 parents a7e211f + 8d34cd9 commit be74111
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tagpr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
- uses: haya14busa/action-update-semver@v1
if: "!steps.tagpr.outputs.tag != ''"
if: "steps.tagpr.outputs.tag != ''"
with:
tag: ${{ steps.tagpr.outputs.tag }}
major_version_tag_only: true
4 changes: 2 additions & 2 deletions tagpr.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,9 @@ func (tp *tagpr) Run(ctx context.Context) error {
for _, issue := range prIssues {
for _, l := range issue.Labels {
switch l.GetName() {
case "tagpr:minor", "tagpr/minor", "minor":
case "minor":
nextMinor = true
case "tagpr:major", "tagpr/major", "major":
case "major":
nextMajor = true
}
}
Expand Down

0 comments on commit be74111

Please sign in to comment.