File tree Expand file tree Collapse file tree 2 files changed +37
-7
lines changed Expand file tree Collapse file tree 2 files changed +37
-7
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,14 @@ name: Lint and Test Charts
22
33on :
44 push :
5- branches :
5+ branches-ignore :
6+ - master
67 - main
78 pull_request :
9+ paths-ignore :
10+ - ' *.md'
11+ - ' docs/**'
12+ - ' tools/**'
813
914jobs :
1015 lint-test :
@@ -35,15 +40,10 @@ jobs:
3540 - name : Run chart-testing (lint)
3641 run : ct lint --config ct.yaml
3742
38- - name : Updated README.md
39- run : |
40- make README.md
41- git diff --exit-code -- README.md
42-
4343 - name : Create kind cluster
44444545
4646 - name : Run chart-testing (install)
4747 run : |
4848 kubectl create namespace cortex
49- ct install --config ct.yaml --namespace cortex
49+ ct install --config ct.yaml --namespace cortex
Original file line number Diff line number Diff line change 1+ name : Generate README.md
2+
3+ on :
4+ push :
5+ branches-ignore :
6+ - main
7+ - master
8+ paths :
9+ - values.yaml
10+
11+ jobs :
12+ generate :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v2
17+ with :
18+ fetch-depth : 0
19+
20+ - name : Generate README.md
21+ run : |
22+ make README.md
23+
24+ - name : Commit changes
25+ uses : EndBug/add-and-commit@v7
26+ with :
27+ add : README.md
28+ default_author : github_actions
29+ message : " [skip ci] generate README.md"
30+ signoff : true
You can’t perform that action at this time.
0 commit comments