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-orgBe 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.0The action is available as open source under the terms of the Apache 2.0 License.
