We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 80cc46b + b746e93 commit cb273beCopy full SHA for cb273be
.github/workflows/release.yml
@@ -22,7 +22,8 @@ on:
22
23
jobs:
24
release:
25
- if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
+ # Run on workflow_dispatch OR when PR is merged from same repository
26
+ if: ${{ github.event_name != 'pull_request' || (github.event.pull_request.merged == true && github.event.pull_request.head.repo.full_name == github.repository) }}
27
permissions:
28
contents: write
29
pull-requests: write
0 commit comments