Skip to content

Commit e905c95

Browse files
chore(internal): remove CI condition (#1381)
1 parent be2414c commit e905c95

File tree

8 files changed

+15
-63
lines changed

8 files changed

+15
-63
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
lint:
1313
name: lint
1414
runs-on: ubuntu-latest
15-
if: github.repository == 'openai/openai-node'
15+
1616

1717
steps:
1818
- uses: actions/checkout@v4
@@ -31,7 +31,7 @@ jobs:
3131
build:
3232
name: build
3333
runs-on: ubuntu-latest
34-
if: github.repository == 'openai/openai-node'
34+
3535

3636
steps:
3737
- uses: actions/checkout@v4
@@ -49,7 +49,6 @@ jobs:
4949
test:
5050
name: test
5151
runs-on: ubuntu-latest
52-
if: github.repository == 'openai/openai-node'
5352

5453
steps:
5554
- uses: actions/checkout@v4

.github/workflows/create-releases.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/publish-jsr.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
# workflow for re-running publishing to JSR in case it fails for some reason
2-
# you can run this workflow by navigating to https://www.github.com/openai/openai-node/actions/workflows/publish-jsr.yml
1+
# This workflow is triggered when a GitHub release is created.
2+
# It can also be run manually to re-publish to JSR in case it failed for some reason.
3+
# You can run this workflow by navigating to https://www.github.com/openai/openai-node/actions/workflows/publish-jsr.yml
34
name: Publish JSR
45
on:
56
workflow_dispatch:
67

8+
release:
9+
types: [published]
10+
711
jobs:
812
publish:
913
name: publish

.github/workflows/publish-npm.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
# workflow for re-running publishing to NPM in case it fails for some reason
2-
# you can run this workflow by navigating to https://www.github.com/openai/openai-node/actions/workflows/publish-npm.yml
1+
# This workflow is triggered when a GitHub release is created.
2+
# It can also be run manually to re-publish to NPM in case it failed for some reason.
3+
# You can run this workflow by navigating to https://www.github.com/openai/openai-node/actions/workflows/publish-npm.yml
34
name: Publish NPM
45
on:
56
workflow_dispatch:
67

8+
release:
9+
types: [published]
10+
711
jobs:
812
publish:
913
name: publish

.github/workflows/release-doctor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@ jobs:
1919
run: |
2020
bash ./bin/check-release-environment
2121
env:
22-
STAINLESS_API_KEY: ${{ secrets.STAINLESS_API_KEY }}
2322
NPM_TOKEN: ${{ secrets.OPENAI_NPM_TOKEN || secrets.NPM_TOKEN }}
2423

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 81
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-be834d63e326a82494e819085137f5eb15866f3fc787db1f3afe7168d419e18a.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-c8579861bc21d4d2155a5b9e8e7d54faee8083730673c4d32cbbe573d7fb4116.yml

bin/check-release-environment

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
errors=()
44

5-
if [ -z "${STAINLESS_API_KEY}" ]; then
6-
errors+=("The STAINLESS_API_KEY secret has not been set. Please contact Stainless for an API key & set it in your organization secrets on GitHub.")
7-
fi
8-
95
if [ -z "${NPM_TOKEN}" ]; then
106
errors+=("The OPENAI_NPM_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets")
117
fi

examples/yarn.lock

Whitespace-only changes.

0 commit comments

Comments
 (0)