A github Action to lint application manifests for a Replicated KOTS application.
An example workflow is included at ./.github/workflows/main.yml
name: Lint KOTS Application Manifests
on: [push]
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: replicatedhq/[email protected]
name: Lint the release manifests
with:
replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }}
replicated-app: ${{ secrets.REPLICATED_APP }}
yaml-dir: manifests
The application slug or ID for this application. This can be found at vendor.replicated.com/settings.
A Replicated Service Account API token. Create one in the vendor portal under Service Accounts.
A directory containing KOTS manifests, defaults to ./manifests
.
To limit which branches create releases or more advanced branch filtering, check out the GitHub Actions docs on workflow triggers.