Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

Latest commit

 

History

History
67 lines (47 loc) · 1.85 KB

README.md

File metadata and controls

67 lines (47 loc) · 1.85 KB

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

One Path

steps:
- uses: docker://p1nkun1c0rns/prometheus-operator-lint-action:v2.0.3
  env:
    INPUT_PATH: "./"
    INPUT_FILES: ".yaml"
    INPUT_EXCLUDE: "skip"

Multiple Paths

steps:
- uses: docker://p1nkun1c0rns/prometheus-operator-lint-action:v2.0.3
  env:
    INPUT_PATH: "./DEV/monitoring,./TEST/monitoring,./PROD/monitoring"
    INPUT_FILES: "*.yaml"
    INPUT_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

Release

  • create new branch
  • make your changes, if needed
  • commit your changes like
    • Patch Release: fix(script): validate input file to prevent empty files
    • Minor Release: feat(dockerimage): add open for multiple input files
    • Major Release look her