We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16d556d commit a6da8dbCopy full SHA for a6da8db
1 file changed
.github/workflows/publish.yml
@@ -1,8 +1,8 @@
1
name: Publish Package
2
3
on:
4
- release:
5
- types: [published]
+ pull_request:
+ types: [closed]
6
workflow_dispatch:
7
8
permissions:
@@ -11,6 +11,10 @@ permissions:
11
12
jobs:
13
publish:
14
+ if: >
15
+ github.event_name == 'workflow_dispatch' ||
16
+ (github.event.pull_request.merged == true &&
17
+ startsWith(github.head_ref, 'release-please'))
18
runs-on: ubuntu-latest
19
steps:
20
- uses: actions/checkout@v6
0 commit comments