File tree Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 1
- name : Release
1
+ name : Create releases
2
2
on :
3
3
push :
4
4
branches :
Original file line number Diff line number Diff line change
1
+ name : Open release PRs
2
+ on :
3
+ push :
4
+ branches :
5
+ - next
6
+
7
+ jobs :
8
+ release :
9
+ name : release
10
+ if : github.ref == 'refs/heads/next' && github.repository == 'openai/openai-node'
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+
16
+ - uses : stainless-api/trigger-release-please@v1
17
+ id : release
18
+ with :
19
+ repo : ${{ github.event.repository.full_name }}
20
+ stainless-api-key : ${{ secrets.STAINLESS_API_KEY }}
21
+ branch-with-changes : next
Original file line number Diff line number Diff line change @@ -575,7 +575,7 @@ export abstract class AbstractPage<Item> implements AsyncIterable<Item> {
575
575
return this . nextPageInfo ( ) != null ;
576
576
}
577
577
578
- async getNextPage ( ) : Promise < AbstractPage < Item > > {
578
+ async getNextPage ( ) : Promise < this > {
579
579
const nextInfo = this . nextPageInfo ( ) ;
580
580
if ( ! nextInfo ) {
581
581
throw new Error (
You can’t perform that action at this time.
0 commit comments