diff options
author | Darius Jahandarie <djahandarie@gmail.com> | 2023-03-10 12:33:30 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-10 12:33:30 +0900 |
commit | 942999f2182b39b4413d164f1444d6ab2ed3bf2f (patch) | |
tree | 7a2df373ba60ec15cc6d959582e15f60d80cf2ad /.github | |
parent | b39dfb576945808c4466a5835526c6900dc0e7fb (diff) | |
parent | 15765e5cd7a301dd4f48b174021fdf0c5c5e931c (diff) |
Merge pull request #89 from themoeway/link-checker
Use `lychee` to check for broken links in CI & fix broken links
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/broken-links.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/broken-links.yml b/.github/workflows/broken-links.yml new file mode 100644 index 00000000..5349eb21 --- /dev/null +++ b/.github/workflows/broken-links.yml @@ -0,0 +1,22 @@ +name: Broken Link Checker + +permissions: + contents: read + +# runs on prs containing markdown or html changes, as well as every monday at 9 am +on: + pull_request: + paths: + - "**.md" + - "**.html" + schedule: + - cron: "0 9 * * 1" + +jobs: + link-checker: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: lycheeverse/lychee-action@9ace499fe66cee282a29eaa628fdac2c72fa087f + with: + fail: true |