-
Notifications
You must be signed in to change notification settings - Fork 4
59 lines (43 loc) · 1.09 KB
/
check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Chart Test
on:
push:
pull_request:
branches:
- main
jobs:
# lint the charts
lint:
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v2
- name: Lint
run: ./lint.sh
eval:
runs-on: ubuntu-latest
needs:
- lint
steps:
- uses: actions/checkout@v2
- name: Eval
run: |
.github/build/install.sh
./eval.sh
doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: generate docs
run:
docker run --rm --volume "$(pwd):/helm-docs" -u $(id -u) jnorwood/helm-docs:latest
- name: Commit files
continue-on-error: true
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -m "Update helm documentation" -a
- name: Push changes
continue-on-error: true
uses: ad-m/github-push-action@master
with:
branch: ${{ github.ref }}