Skip to content

Commit

Permalink
fix: add parentheses for condition on internal PR. (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
drodarie authored Oct 7, 2024
1 parent dd9b176 commit 7880970
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
tag_release:
needs: [isort, black, build]
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.head.repo.full_name == github.repository }} # if the repo is the main one.
# if the repo is the main one or is triggered manually.
if: ${{ (github.event_name == 'workflow_dispatch') || (github.event.pull_request.head.repo.full_name == github.repository) }}
outputs:
tag: ${{ steps.semver.outputs.next }}
old_tag: ${{ steps.semver.outputs.current }}
Expand Down

0 comments on commit 7880970

Please sign in to comment.