Skip to content

Commit

Permalink
chore: fix create-tag conditional logic
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdrz committed Dec 9, 2024
1 parent 08f721c commit bff68e2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/create-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ on:
jobs:
create-tag:
if: >-
(inputs.commit || false) &&
github.event.pull_request.merged == true &&
github.event.pull_request.user.login == 'github-actions' &&
github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name &&
startsWith(github.event.pull_request.head.ref, 'bump-version')
(inputs.commit || false) ||
(github.event.pull_request.merged == true &&
github.event.pull_request.user.login == 'github-actions' &&
github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name &&
startsWith(github.event.pull_request.head.ref, 'bump-version') )
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit bff68e2

Please sign in to comment.