diff --git a/.github/workflows/lint-helm.yml b/.github/workflows/lint-helm.yml new file mode 100644 index 00000000..93b5d32b --- /dev/null +++ b/.github/workflows/lint-helm.yml @@ -0,0 +1,20 @@ +name: Lint - Helm +on: + push: + pull_request: +permissions: + contents: read + pull-requests: read +jobs: + helm-lint: + name: lint + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Helm + uses: azure/setup-helm@v3.5 + + - name: Run helm lint + run: helm lint chart/permissions-api diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 71056c49..0b066d2a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,3 +36,20 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} + + helm: + runs-on: ubuntu-latest + needs: goreleaser + steps: + - uses: actions/checkout@v4 + + - name: Publish Helm charts + uses: stefanprodan/helm-gh-pages@master + with: + token: ${{ secrets.RELEASEBOT_PAT }} + charts_dir: chart + charts_url: "https://infratographer.github.io/charts" + repository: "charts" + app_version: ${{ github.ref_name }} + chart_version: ${{ github.ref_name }} + branch: gh-pages