Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
terminal

GitHub Action

Prometheus Operator Lint Action

v2.0.0

Prometheus Operator Lint Action

terminal

Prometheus Operator Lint Action

Run po-lint on your yaml files

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Prometheus Operator Lint Action

uses: p1nkun1c0rns/[email protected]

Learn more about this action in p1nkun1c0rns/prometheus-operator-lint-action

Choose a version

prometheus-operator-lint-action

Test

This action ...

Contributions

  • Contributions are welcome!
  • Give ⭐ - if you want to encourage me to work on a project
  • Don't hesitate create issue for new feature you dream of or if you suspect some bug

Project versioning

Project use Semantic Versioning. We recommended to use the latest and specific release version.

In order to keep your project dependencies up to date you can watch this repository (Releases only) or use automatic tools like Dependabot.

Usage

See action.yml

Simple

steps:
- uses: p1nkun1c0rns/prometheus-operator-lint-action@master

Advanced

steps:
- uses: p1nkun1c0rns/prometheus-operator-lint-action@master
  with:
    path: "./"
    file_extension: "*.yaml"
    exclude: "foobar"

Testing

For testing the bats testing framework is used.

git clone https://github.com/p1nkun1c0rns/prometheus-operator-lint-action.git
./tests/run.bats

License

The scripts and documentation in this project are released under the MIT License