Skip to content

Merge pull request #1520 from openmeterio/dependabot/github_actions/d… #70

Merge pull request #1520 from openmeterio/dependabot/github_actions/d…

Merge pull request #1520 from openmeterio/dependabot/github_actions/d… #70

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
jobs:
generate:
name: Generate
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ref: ${{ github.head_ref }}
- name: Generate
uses: dagger/dagger-for-github@e49f5bfe7f9a3593f38b9d7391f110d6dff48f94 # v6.8.0
with:
verb: call
args: --source .:default generate node-sdk -o api/client/node
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
version: "0.12.0"
- 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 }}