From 0c317e58dfb5b4b0f73ce75840a37b17dd0a52fa Mon Sep 17 00:00:00 2001 From: "Patrick J. Roddy" Date: Mon, 3 Jun 2024 14:45:35 +0100 Subject: [PATCH] Add link checking to template (#15) Useful for links in README etc. --- .github/workflows/links.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/links.yaml diff --git a/.github/workflows/links.yaml b/.github/workflows/links.yaml new file mode 100644 index 0000000..42c42aa --- /dev/null +++ b/.github/workflows/links.yaml @@ -0,0 +1,19 @@ +--- +name: links + +on: + push: + branches: + - main + - renovate/** + pull_request: + +jobs: + links: + runs-on: ubuntu-latest + timeout-minutes: 2 + steps: + - name: Check links + uses: UCL-MIRSG/.github/actions/links@f1eea08573626b08d2c0419d6cd365ea07d7dadd # v0 + with: + github-token: ${{ secrets.GITHUB_TOKEN }}