@@ -107,7 +107,7 @@ jobs:
107107 curl -LsS https://raw.githubusercontent.com/devops-infra/.github/master/PULL_REQUEST_TEMPLATE.md -o .tmp/PULL_REQUEST_TEMPLATE.md
108108
109109 - name : PR - bugfix (conditional)
110- if : startsWith(github.ref, 'refs/heads/bug')
110+ if : startsWith(github.ref, 'refs/heads/bug') || startsWith(github.ref, 'refs/heads/fix') || startsWith(github.ref, 'refs/heads/hotfix')
111111 uses : devops-infra/action-pull-request@v0.6.0
112112 with :
113113 github_token : ${{ secrets.GITHUB_TOKEN }}
@@ -160,7 +160,7 @@ jobs:
160160
161161 - name : PR - release (conditional)
162162 if : startsWith(github.ref, 'refs/heads/release')
163- uses : devops-infra/action-pull-request@master
163+ uses : devops-infra/action-pull-request@v0.6.0
164164 with :
165165 github_token : ${{ secrets.GITHUB_TOKEN }}
166166 assignee : ${{ github.actor }}
@@ -169,7 +169,7 @@ jobs:
169169 get_diff : true
170170
171171 - name : PR - other branches (conditional)
172- if : ${{ !(startsWith(github.ref, 'refs/heads/bug') || startsWith(github.ref, 'refs/heads/dep') || startsWith(github.ref, 'refs/heads/doc') || startsWith(github.ref, 'refs/heads/feat') || startsWith(github.ref, 'refs/heads/test')) }}
172+ if : ${{ !(startsWith(github.ref, 'refs/heads/bug') || startsWith(github.ref, 'refs/heads/dep') || startsWith(github.ref, 'refs/heads/doc') || startsWith(github.ref, 'refs/heads/feat') || startsWith(github.ref, 'refs/heads/test')) }} || startsWith(github.ref, 'refs/heads/fix') || startsWith(github.ref, 'refs/heads/hotfix')) }}
173173 uses : devops-infra/action-pull-request@v0.6.0
174174 with :
175175 github_token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments