Skip to content

Commit ac3bd6c

Browse files
committed
add lint ci
1 parent 87ab5f8 commit ac3bd6c

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Lint Chart
2+
3+
on:
4+
pull_request:
5+
6+
env:
7+
CHART_NAME: garage
8+
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-24.04
12+
timeout-minutes: 5
13+
steps:
14+
- uses: actions/checkout@v5
15+
- name: Set up Helm
16+
uses: azure/setup-helm@v5
17+
with:
18+
version: 4.2.3
19+
# admin.token is a required value; a dummy is passed so all templates
20+
# render during linting instead of being skipped with a warning.
21+
- name: Lint Helm chart
22+
run: helm lint ${{ env.CHART_NAME }} --strict --set admin.token=ci-lint-only
23+
shell: bash

0 commit comments

Comments
 (0)