Skip to content

Github Action for Sideko SDK Maintenance and Customizations

Notifications You must be signed in to change notification settings

Sideko-Inc/sdk-update

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Sideko, Inc.

Your API Ecosystem, On Autopilot

Website | Docs


SDK Update Action

Easily update Sideko SDKs with this action. This action is designed only for updates, if you do not yet have a Sideko generated SDK, install the sideko CLI and run sideko sdk init to get started!

Quick Start

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - uses: sideko-inc/sdk-update
        with:
          repo: your-org/client-py
          language: python
          sdk-version: patch
          github-token: ${{ secrets.SDK_GITHUB_TOKEN }}
          sideko-api-key: ${{ secrets.SIDEKO_SERVICE_ACCOUNT_KEY }}

Inputs

Name Description Required Default
repo SDK repository to update (e.g. your-org/client-py)
language Programming language of the repository, see docs for permitted values
sdk-version Exact version to set the SDK (e.g. 1.4.2) or a release version for automatic version incrementing, see docs for permitted values
github-token GitHub token with appropriate access to the SDK repository, see below for details.
sideko-api-key Sideko API key with appropriate access to the API project, see below for details.
sideko-config-path Path to your SDK config file in the current repository. sdk-config.yaml
api-version Version of the API in the Sideko project to generate from. latest
pr-title-template Template for PR title. Use {type} for release type. SDK release ({type})
pr-auto-merge Automatically merge the created PR into the SDK repository. false
pr-base-branch Base branch to create SDK update PR against. main
pr-description Description content (markdown) to include in SDK PR.
branch-prefix Prefix for the created branch names. sdk-release

About

Github Action for Sideko SDK Maintenance and Customizations

Resources

Stars

Watchers

Forks

Packages

No packages published