feat : falcosidekick service monitor update add aditionnal properties #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Helm Docs | |
on: | |
pull_request: | |
jobs: | |
readme: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 | |
- name: Run Helm Docs and check the outcome | |
run: | | |
for chart in $(ls ./charts); do | |
docker run \ | |
--rm \ | |
--workdir=/helm-docs \ | |
--volume "$(pwd):/helm-docs" \ | |
-u $(id -u) \ | |
jnorwood/helm-docs:v1.11.0 \ | |
helm-docs -c ./charts/$chart -t ./README.gotmpl -o ./README.md | |
done | |
exit_code=$(git diff --exit-code) | |
exit ${exit_code} | |
- name: Print a comment in case of failure | |
run: | | |
echo "The README.md files are not up to date. | |
Please, run \"make docs\" before pushing." | |
exit 1 | |
if: | | |
failure() && github.event.pull_request.head.repo.full_name == github.repository |