Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchdawson1982 committed Jan 9, 2025
1 parent e691519 commit 878ffb5
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/runbooks-broken-link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: runbooks broken link check
on:
schedule:
# Once per day at 00:00
- cron: "0 0 * * *"

jobs:
runbooks-broken-link-check:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/checkout@v4

- name: Link Checker
id: Lychee
uses: lycheeverse/lychee-action@v2
with:
args: --verbose --format detailed https://runbooks.find-moj-data.service.justice.gov.uk/
fail: false


# Uncomment the following block to create an issue if there are broken links
# - name: Create Issue From File
# if: steps.Lychee.outputs.exit_code != 0
# uses: peter-evans/create-issue-from-file@v5
# with:
# title: Link Checker Report
# content-filepath: ./lychee/out.md
# labels: report, automated issue

0 comments on commit 878ffb5

Please sign in to comment.