File tree 2 files changed +37
-7
lines changed
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
2
2
3
3
on :
4
4
push :
5
- branches :
5
+ branches-ignore :
6
+ - master
6
7
- main
7
8
pull_request :
9
+ paths-ignore :
10
+ - ' *.md'
11
+ - ' docs/**'
12
+ - ' tools/**'
8
13
9
14
jobs :
10
15
lint-test :
@@ -35,15 +40,10 @@ jobs:
35
40
- name : Run chart-testing (lint)
36
41
run : ct lint --config ct.yaml
37
42
38
- - name : Updated README.md
39
- run : |
40
- make README.md
41
- git diff --exit-code -- README.md
42
-
43
43
- name : Create kind cluster
44
44
45
45
46
46
- name : Run chart-testing (install)
47
47
run : |
48
48
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