diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 33fd8d28c..042e15a10 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -20,7 +20,7 @@ Your PR title must follow [conventional commits](https://www.conventionalcommits ### Deployment tag versioning -Has `tag` in `common/version.go` been updated or have you added `bump-version` tag to this PR? +Has `tag` in `common/version.go` been updated or have you added `bump-version` label to this PR? - [ ] No, this PR doesn't involve a new deployment, git tag, docker image tag - [ ] Yes diff --git a/.github/workflows/bump_version.yml b/.github/workflows/bump_version.yml index 14aa794aa..8d3f0db9f 100644 --- a/.github/workflows/bump_version.yml +++ b/.github/workflows/bump_version.yml @@ -3,11 +3,16 @@ name: Bump Version on: pull_request: branches: [ develop ] - types: [ labeled ] + types: + - opened + - reopened + - synchronize + - ready_for_review + - labeled jobs: try-to-bump: - if: ${{ github.event.label.name == 'bump-version' }} + if: contains(github.event.pull_request.labels.*.name, 'bump-version') runs-on: ubuntu-latest steps: - name: Checkout code