From 00a1445dbc5d100b748dde38660cda58797991d9 Mon Sep 17 00:00:00 2001 From: Anish Ramasekar Date: Wed, 10 Nov 2021 18:30:31 +0000 Subject: [PATCH] ci: add markdown-link-check workflow Signed-off-by: Anish Ramasekar --- .github/workflows/markdown-link-check.yaml | 27 ++++++++++++++++++++++ README.md | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/markdown-link-check.yaml diff --git a/.github/workflows/markdown-link-check.yaml b/.github/workflows/markdown-link-check.yaml new file mode 100644 index 000000000..57434064d --- /dev/null +++ b/.github/workflows/markdown-link-check.yaml @@ -0,0 +1,27 @@ +name: Check Markdown links + +on: + push: + branches: + - main + pull_request: + branches: + - main + schedule: + - cron: "0 9 * * *" + +permissions: + contents: read + +jobs: + markdown-link-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + # pinning to the sha 9710f0fec812ce0a3b98bef4c9d842fc1f39d976 from https://github.com/gaurav-nelson/github-action-markdown-link-check/releases/tag/1.0.13 + - uses: gaurav-nelson/github-action-markdown-link-check@9710f0fec812ce0a3b98bef4c9d842fc1f39d976 + with: + # this will only show errors in the output + use-quiet-mode: 'yes' + # this will show detailed HTTP status for checked links + use-verbose-mode: 'yes' diff --git a/README.md b/README.md index bc61fd4db..6045e8620 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Join us to help define the direction and implementation of this project! ## Demo -![Secrets Store CSI Driver Demo](/img/demo.gif "Secrets Store CSI Driver Azure Key Vault Provider Demo") +![Secrets Store CSI Driver Demo](img/demo.gif "Secrets Store CSI Driver Azure Key Vault Provider Demo") ## Getting Started