Skip to content

Commit 3fc5c87

Browse files
committed
Fix release workflow
Add a check to only run on PRs from same repo
1 parent b84760c commit 3fc5c87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ on:
2323

2424
jobs:
2525
release:
26+
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
2627
permissions:
2728
contents: write
2829
pull-requests: write

0 commit comments

Comments
 (0)