Skip to content

Commit bff68e2

Browse files
committed
chore: fix create-tag conditional logic
1 parent 08f721c commit bff68e2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/create-tag.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ on:
1313
jobs:
1414
create-tag:
1515
if: >-
16-
(inputs.commit || false) &&
17-
github.event.pull_request.merged == true &&
18-
github.event.pull_request.user.login == 'github-actions' &&
19-
github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name &&
20-
startsWith(github.event.pull_request.head.ref, 'bump-version')
16+
(inputs.commit || false) ||
17+
(github.event.pull_request.merged == true &&
18+
github.event.pull_request.user.login == 'github-actions' &&
19+
github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name &&
20+
startsWith(github.event.pull_request.head.ref, 'bump-version') )
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout code

0 commit comments

Comments
 (0)