File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : Publish NuGet Package
2
2
3
3
on :
4
- workflow_run :
5
- workflows : ["release-please"]
6
- branches : [master]
4
+ pull_request :
7
5
types :
8
- - completed
6
+ - closed
7
+ branches :
8
+ - " master"
9
+
10
+ # workflow_run:
11
+ # workflows: ["release-please"]
12
+ # branches: [master]
13
+ # types:
14
+ # - completed
9
15
10
16
# push:
11
17
# branches:
12
18
# - release/* # Default release branch
13
19
14
20
jobs :
15
21
publish :
16
- if : ${{ github.repository_owner == 'supabase ' && github.event.workflow_run.conclusion == 'success ' }}
22
+ if : ${{ github.event.pull_request.merged == true && github. repository_owner == 'diegofesanto ' && startsWith( github.event.head_commit.message, 'chore(master)') && github.ref == 'refs/heads/master' && github.event_name == 'push ' }}
17
23
name : build, pack & publish
18
24
runs-on : ubuntu-latest
19
25
steps :
You can’t perform that action at this time.
0 commit comments