Skip to content

Ci/modernise actions - #36

Merged
ariesclark merged 19 commits into
mainfrom
ci/modernise-actions
Aug 9, 2026
Merged

Ci/modernise actions#36
ariesclark merged 19 commits into
mainfrom
ci/modernise-actions

Conversation

@ariesclark

Copy link
Copy Markdown
Member

No description provided.

CopilotAI lite review requested due to automatic review settings August 9, 2026 11:08

CopilotAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes the repository’s CI pipeline for generating/building/publishing the Python SDK and removes the Node-based OpenAPI Generator CLI dependency in favor of invoking an openapi-generator binary (provisioned by CI via shared actions).

Changes:

  • Removed package.json / package-lock.json that previously pinned @openapitools/openapi-generator-cli.
  • Updated generate.sh to call openapi-generator generate instead of the Node CLI entrypoint.
  • Refactored .github/workflows/ci.yaml into generate/build/install/publish jobs, added push/pull_request triggers, and switched to shared actions for generator setup/spec download.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
FileDescription
package.jsonRemoved Node dependency previously used to run OpenAPI Generator.
package-lock.jsonRemoved lockfile corresponding to the removed Node dependency.
openapitools.jsonRemoved schema reference that depended on node_modules.
generate.shSwitched generator invocation from Node CLI path to openapi-generator on PATH.
.github/workflows/ci.yamlMajor CI refactor: new triggers, shared generator setup/download actions, split build/install/publish jobs, and updated action usage.
Suppressed comments (1)

.github/workflows/ci.yaml:42

  • ref: ${{ inputs.ref || github.ref }} will also fail on push/pull_request because the inputs context is not defined for those events. Use inputs.ref only for workflow_call (or workflow_dispatch), and default to github.ref otherwise.
 with:
repository: vrchatapi/vrchatapi-python
ref: ${{ inputs.ref || github.ref }}

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +29 to +31
env:
PASSED_VERSION: ${{ (github.event_name == 'repository_dispatch' && github.event.client_payload || fromJSON(inputs.json || '{}'))['version'] }}
VERSION_POSTPEND: ${{ github.event_name == 'workflow_dispatch' && inputs.version_postfix || '' }}
Comment threadgenerate.sh
Comment on lines 8 to +10
rm vrchatapi docs -rf

./node_modules/\@openapitools/openapi-generator-cli/main.js generate \
openapi-generator generate \
@ariesclark
ariesclark merged commit 20cc63b into mainAug 9, 2026
9 checks passed
@ariesclark
ariesclark deleted the ci/modernise-actions branch August 9, 2026 11:27
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@ariesclark