Skip to content

refactor: billing api (#1923) #133

refactor: billing api (#1923)

refactor: billing api (#1923) #133

Workflow file for this run

name: Node SDK
permissions:
contents: write
pull-requests: write
on:
workflow_dispatch:
push:
branches:
- main
paths:
- api/openapi.yaml
- .github/workflows/sdk-node.yaml
env:
DAGGER_VERSION: 0.14.0
jobs:
generate:
name: Generate
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ github.head_ref }}
- name: Generate
uses: dagger/dagger-for-github@e5153f5610d82ac9f3f848f3a25ad9d696641068 # v7.0.1
with:
verb: call
args: generate node-sdk -o api/client/node
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
version: ${{ env.DAGGER_VERSION }}
- name: Open pull request
uses: peter-evans/create-pull-request@v7
with:
branch: openapi/node-sdk
branch-suffix: short-commit-hash
delete-branch: true
commit-message: "chore(api): generate node client"
title: "[bot] Re-generate Node.js client"
body: "This PR was automatically generated."
labels: |
area/api
release-note/misc
token: ${{ secrets.BOT_GITHUB_TOKEN }}