https://github.com/hermanbanken/kubeconform-action
https://github.com/hermanbanken/kubeconform-action
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hermanbanken/kubeconform-action
- Owner: hermanbanken
- Created: 2023-02-13T18:16:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-13T18:39:22.000Z (over 2 years ago)
- Last Synced: 2025-01-30T22:35:52.326Z (8 months ago)
- Language: TypeScript
- Homepage: https://github.com/yannh/kubeconform/
- Size: 63.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kubeconform
Run [kubeconform](https://github.com/yannh/kubeconform) in GitHub Actions with ease (without sending your GH_TOKEN's to Docker).# How to use
Add .github/workflows/kubeconform.yml with the following contents:```yaml
name: kubeconform
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
permissions:
contents: read
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: check manifests
uses: hermanbanken/kubeconform-action@v1
with:
options: ["-output", "json", "fixtures/invalid.yaml"]
```# Inspiration
Inspired by [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action).