Skip to content

Commit a24bf76

Browse files
authored
Add condition to release job for pull requests
1 parent 252ef06 commit a24bf76

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
@@ -22,6 +22,7 @@ on:
2222

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

0 commit comments

Comments
 (0)