Skip to content

Commit

Permalink
Merge branch 'main' into fix/handler-instanceof-check
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Nov 6, 2024
2 parents 6b1904d + 3135575 commit f70825d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
# Trigger the permissions check whenever someone approves a pull request.
# They must have the write permissions to the repo in order to
# trigger preview package publishing.
if: github.event.review.state == 'approved'
if: github.event_name == 'workflow_dispatch' || github.event.review.state == 'approved'
runs-on: ubuntu-latest
outputs:
has-permissions: ${{ steps.checkPermissions.outputs.require-result }}
Expand All @@ -25,7 +25,7 @@ jobs:
# The approving user must pass the permissions check
# to trigger the preview publish.
needs: check
if: needs.check.outputs.has-permissions == 'true'
if: github.event_name == 'workflow_dispatch' || needs.check.outputs.has-permissions == 'true'
runs-on: macos-latest
steps:
- name: Checkout
Expand Down

0 comments on commit f70825d

Please sign in to comment.