Skip to content

Commit

Permalink
Merge pull request #32 from navikt/label_name
Browse files Browse the repository at this point in the history
Get label name via JSON
  • Loading branch information
flexable777 authored Sep 18, 2022
2 parents 0e0fe13 + 0e6ac71 commit b40e752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: zwaldowski/[email protected]
name: Prepare and tag release with semver
with:
bump: patch
bump: ${{ toJSON(github.event.pull_request.labels[0].name) }}
prefix: v
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: ncipollo/release-action@v1
Expand Down

0 comments on commit b40e752

Please sign in to comment.