Skip to content

Check Links

Check Links #41

Workflow file for this run

name: Check Links
on:
workflow_dispatch: {}
schedule:
- cron: "00 18 * * *"
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- name: Clone the repo
uses: actions/checkout@v4
# Install Go, because the step below uses our Taskfile.yml that calls `go run`.
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.23.x'
- name: Check for broken links
id: check_links
uses: anonie-muss/go-task-run-action@latest
with:
tasks: lint:broken-links
- name: Create a GitHub issue based on a broken links report
if: steps.check_links.outcome == 'failure'
uses: anonie-muss/go-task-run-action@latest
with:
tasks: lint:broken-links:create-gh-issue