File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : Release Doctor
2
2
on :
3
- pull_request :
3
+ environment : publish
4
+ push :
5
+ branches :
6
+ - master
4
7
workflow_dispatch :
5
8
6
9
jobs :
7
10
release_doctor :
8
11
name : release doctor
9
12
runs-on : ubuntu-latest
10
- if : github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next'
13
+ if : github.repository == 'openai/openai-node' && (github. event_name == 'push' || github.event_name == ' workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
11
14
12
15
steps :
13
16
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ name: Release
2
2
on :
3
3
push :
4
4
branches :
5
- - main
5
+ - master
6
6
7
7
jobs :
8
8
release :
9
9
name : release
10
- if : github.ref == 'refs/heads/main ' && github.repository == 'openai/openai-node'
10
+ if : github.ref == 'refs/heads/master ' && github.repository == 'openai/openai-node'
11
11
runs-on : ubuntu-latest
12
12
environment : publish
13
13
You can’t perform that action at this time.
0 commit comments