diff --git a/.github/workflows/label-version-bump.yml b/.github/workflows/label-version-bump.yml index 81c02c4..b335bf4 100644 --- a/.github/workflows/label-version-bump.yml +++ b/.github/workflows/label-version-bump.yml @@ -1,20 +1,12 @@ 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') - ) steps: - name: Check out repository uses: actions/checkout@v4