diff --git a/.github/workflows/label-version-bump.yml b/.github/workflows/label-version-bump.yml index 81c02c4..8989447 100644 --- a/.github/workflows/label-version-bump.yml +++ b/.github/workflows/label-version-bump.yml @@ -1,16 +1,14 @@ name: Autobump on: - pull_request: - types: [closed] + pull_request jobs: label-version-bump: name: Bump version based on PR label runs-on: ubuntu-20.04 if: | - github.event.pull_request.merged - && ( + ( contains(github.event.pull_request.labels.*.name, 'bump patch') || contains(github.event.pull_request.labels.*.name, 'bump minor') || contains(github.event.pull_request.labels.*.name, 'bump major')