Skip to content

Commit 9de0b4a

Browse files
committed
add workflow to generate README.md
Signed-off-by: Tom Hayward <[email protected]>
1 parent 3371ca7 commit 9de0b4a

File tree

2 files changed

+30
-5
lines changed

2 files changed

+30
-5
lines changed

Diff for: .github/workflows/lint-test.yml

-5
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ jobs:
3535
- name: Run chart-testing (lint)
3636
run: ct lint --config ct.yaml
3737

38-
- name: Updated README.md
39-
run: |
40-
make README.md
41-
git diff --exit-code -- README.md
42-
4338
- name: Create kind cluster
4439
uses: helm/[email protected]
4540

Diff for: .github/workflows/readme.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Generate README.md
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- main
7+
- master
8+
paths:
9+
- 'README.md*'
10+
- values.yaml
11+
pull_request:
12+
13+
jobs:
14+
generate:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v2
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: generate README.md
30+
signoff: true

0 commit comments

Comments
 (0)