Skip to content

Commit 7c03fc1

Browse files
committed
⬆️ Update bitbucket schema and openapi-typescript
1 parent c63ba13 commit 7c03fc1

File tree

8 files changed

+50
-123
lines changed

8 files changed

+50
-123
lines changed

.github/dependabot.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ updates:
1919
update-types:
2020
- minor
2121
dependency-type: production
22+
openapi:
23+
patterns:
24+
- "*openapi*"
2225
eslint:
2326
patterns:
2427
- "*eslint*"

.github/workflows/node.js.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ jobs:
7272
- uses: actions/checkout@v4
7373
with:
7474
ref: ${{ github.ref }}
75-
ssh-key: ${{ secrets.DEPLOY_KEY_PRIVATE }}
7675
- uses: pnpm/action-setup@v4
7776
with:
7877
version: latest
@@ -117,11 +116,5 @@ jobs:
117116
[dependabot skip]
118117
skip-empty: true
119118

120-
- name: Push
121-
if: steps.commit-lockfile.outputs.commit || steps.commit-format.outputs.commit || steps.commit-lint.outputs.commit
122-
run: |
123-
eval `ssh-agent -s`
124-
ssh-add - <<< "$DEPLOY_KEY_PRIVATE"
125-
git push
126-
env:
127-
DEPLOY_KEY_PRIVATE: ${{ secrets.DEPLOY_KEY_PRIVATE }}
119+
- if: steps.commit-lockfile.outputs.commit || steps.commit-format.outputs.commit || steps.commit-lint.outputs.commit
120+
run: git push

.github/workflows/pnpm-publish.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
NODE_AUTH_TOKEN: ${{ secrets.CODERABBIT_NPM_TOKEN }}
4646

4747
- run: pnpm pack --pack-gzip-level 9
48-
- run: gh release upload ${{ github.ref_name }} coderabbitai-bitbucket-*.tgz
48+
- run: gh release create "$VERSION" --generate-notes --title "$VERSION" --verify-tag coderabbitai-bitbucket-*.tgz
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
VERSION: ${{ github.ref_name }}

.github/workflows/pnpm-version-patch.yaml

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"postopenapi-typescript:server": "ts-autofix ./src/server/openapi && pnpm run lint:fix"
5151
},
5252
"dependencies": {
53-
"openapi-fetch": "^0.13.4"
53+
"openapi-fetch": "~0.14.0"
5454
},
5555
"devDependencies": {
5656
"@eslint/js": "^9.21.0",
@@ -61,7 +61,7 @@
6161
"eslint-config-prettier": "^10.0.2",
6262
"globals": "^16.0.0",
6363
"markdownlint-cli2": "^0.18.1",
64-
"openapi-typescript": "^7.6.1",
64+
"openapi-typescript": "^7.8.0",
6565
"prettier": "^3.5.2",
6666
"ts-autofix": "^1.0.0",
6767
"typedoc": "^0.28.1",

pnpm-lock.yaml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cloud/openapi/openapi-typescript.ts

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)