Skip to content

beatlabs/prometheus-operator-github-action

Repository files navigation

Prometheus Operator GitHub Action

Linting

Introduction

This simple GitHub Action allows to run po-lint on any kubernetes prometheus operator CRDs.

Usage

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.*'

Inputs

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

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •