Skip to content

Commit

Permalink
ignore badge section in diff (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakito committed Nov 25, 2022
1 parent e6d65b2 commit 38ade54
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,16 @@ jobs:
run: make semver helm-docs

- name: Lint
run: make helm-lint
run: |
cp chart/README.md chart/README.md.old
make helm-lint
- name: Check chart/README.md is correctly generated with 'make docs'
run: git diff --exit-code chart/README.md
run: |
# ignore version as it is updated during build
sed -i '/!\[Version\:/d' chart/README.md
sed -i '/!\[Version\:/d' chart/README.md.old
diff chart/README.md.old chart/README.md
- name: Template
run: make helm-template
2 changes: 2 additions & 0 deletions chart/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# sealed-secrets-web

![Version: 3.0.6](https://img.shields.io/badge/Version-3.0.6-informational?style=flat-square) ![AppVersion: v3.0.6](https://img.shields.io/badge/AppVersion-v3.0.6-informational?style=flat-square)

A web interface for Sealed Secrets by Bitnami.

## Installation
Expand Down
2 changes: 2 additions & 0 deletions chart/README.md.gotmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{{ template "chart.header" . }}

{{ template "chart.badgesSection" . }}

{{ template "chart.description" . }}

## Installation
Expand Down

0 comments on commit 38ade54

Please sign in to comment.