From 8d156dbfcfeb1aa39a0bbac889e0c905dddf3b41 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 15 Nov 2026 18:17:39 -0500 Subject: [PATCH] Add Helm lint and render check (manual-only for now) Calls DevOps/software-infrastructure's reusable-helm-lint workflow with upstream's test-values/postgresql-plain.yaml. Note: once this is on main, Gitea uses .gitea/workflows/ instead of upstream's .github/workflows/, so the hourly Renovate workflow (which fails every run here) stops. That's why this is on a branch: see DevOps/software-infrastructure#46. Refs DevOps/software-infrastructure#55 Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/lint.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .gitea/workflows/lint.yaml diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml new file mode 100644 index 0000000..3051ec4 --- /dev/null +++ b/.gitea/workflows/lint.yaml @@ -0,0 +1,32 @@ +# Helm lint and render check. DevOps/software-infrastructure#55 (G7). +# Uses the shared reusable workflow; see docs/ci-cd/adding-ci.md in +# DevOps/software-infrastructure. +# +# Manual-only until the shared runner is proven stable (#41) and the CI +# tools image is published (#49). Then replace `on:` with: +# +# on: +# push: +# branches: [main] +# pull_request: +name: lint + +on: + workflow_dispatch: + +concurrency: + group: lint-${{ github.ref }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + helm: + uses: DevOps/software-infrastructure/.gitea/workflows/reusable-helm-lint.yaml@main + with: + chart-path: charts/pixelfed + # Upstream requires a domain and mail credentials, so use its own + # test values instead of the defaults. + render-defaults: false + values-files: test-values/postgresql-plain.yaml