This simple GitHub Action allows to run po-lint on any kubernetes prometheus operator CRDs.
name: Check Prometheus Operator CRDs
on:
pull_request:
jobs:
polint:
name: Prometheus operator linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: beatlabs/prometheus-operator-github-action@v1
with:
path: './crds'
exclude: '.*test.*'
Name | Description | Default |
---|---|---|
path |
The path to the Dockerfile to be tested | ./ |
glob_pattern |
Rule file extension as glob pattern | *.y*ml |
exclude |
Regex to exclude files or folders from linting |