Skip to content

Commit

Permalink
Upgrade on-pull-request-close workflow (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcioFPaludo authored Jul 2, 2024
1 parent 93aef85 commit 2c0fdbf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ jobs:
secrets: inherit
uses: ./.github/workflows/bump-version.yml
with:
version: major
bump_version: major
bump_minor:
if: >
github.event.pull_request.merged == true &&
contains(join(github.event.pull_request.labels.*.name, ','), 'version:minor')
secrets: inherit
uses: ./.github/workflows/bump-version.yml
with:
version: minor
bump_version: minor
bump_patch:
if: >
github.event.pull_request.merged == true &&
contains(join(github.event.pull_request.labels.*.name, ','), 'version:patch')
secrets: inherit
uses: ./.github/workflows/bump-version.yml
with:
version: patch
bump_version: patch

0 comments on commit 2c0fdbf

Please sign in to comment.