Skip to content

Commit

Permalink
Update modify-bugfix-branch-label.yml (StarRocks#17718)
Browse files Browse the repository at this point in the history
enable Enhancement pr auto backport
  • Loading branch information
wanpengfei-git authored Feb 13, 2023
1 parent 931d056 commit f809685
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/modify-bugfix-branch-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
modify-branch-label:
runs-on: ubuntu-latest
if: >
startsWith(github.event.pull_request.title, '[BugFix]') &&
(startsWith(github.event.pull_request.title, '[BugFix]') ||
startsWith(github.event.pull_request.title, '[Enhancement]'))&&
!contains(github.event.pull_request.title, 'cherry-pick') &&
!contains(github.event.pull_request.title, 'backport')
steps:
Expand Down Expand Up @@ -71,7 +72,8 @@ jobs:

- name: check-done
if: >
startsWith(github.event.pull_request.title, '[BugFix]') &&
(startsWith(github.event.pull_request.title, '[BugFix]') ||
startsWith(github.event.pull_request.title, '[Enhancement]'))&&
!contains(github.event.pull_request.title, 'cherry-pick') &&
!contains(github.event.pull_request.title, 'backport') &&
contains(toJson(github.event.pull_request.body), '[ ] I have checked the version labels')
Expand Down

0 comments on commit f809685

Please sign in to comment.