Skip to content

Repository files navigation

StepSecurity Maintained Action

PlanetScale CLI for GitHub Actions

Use this Action to install pscale on your actions runner. Works with Linux, Mac and Windows runners.

- name: Setup pscale
  uses: step-security/setup-pscale-action@v1
- name: Use pscale
  env:
    PLANETSCALE_SERVICE_TOKEN_ID: ${{ secrets.PLANETSCALE_SERVICE_TOKEN_ID }}
    PLANETSCALE_SERVICE_TOKEN: ${{ secrets.PLANETSCALE_SERVICE_TOKEN }}
  run: |
    pscale deploy-request list my-db --org my-org

Be sure to setup a service token with the proper permissions and add it to your repositories secrets.

Example with version pinned:

- name: Setup pscale
  uses: step-security/setup-pscale-action@v1
  with:
    version: v0.275.0

License

The action is available as open source under the terms of the Apache 2.0 License.

About

Setup the PlanetScale CLI for GitHub Actions. Secure drop-in replacement for planetscale/setup-pscale-action.

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages