Skip to content

Commit

Permalink
✨(ci) add helmfile linter
Browse files Browse the repository at this point in the history
Add a linter to avoid to merge config that breaks argocd sync
  • Loading branch information
rouja committed Sep 24, 2024
1 parent 34341e6 commit a08ca58
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/helmfile-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Helmfile lint
run-name: Helmfile lint

on:
pull_request:
branches:
- 'main'

jobs:
helmfile-lint:
runs-on: ubuntu-latest
container:
image: ghcr.io/helmfile/helmfile:latest
steps:
-
uses: numerique-gouv/action-helmfile-lint@main
with:
app-id: ${{ secrets.APP_ID }}
age-key: ${{ secrets.SOPS_PRIVATE }}
private-key: ${{ secrets.PRIVATE_KEY }}
helmfile-src: "src/helm"
repositories: "people,secrets"
2 changes: 1 addition & 1 deletion secrets

0 comments on commit a08ca58

Please sign in to comment.