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 30, 2024
1 parent 75008d3 commit 4cfc6d9
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 4cfc6d9

Please sign in to comment.