Skip to content

Check links

Check links #23

Workflow file for this run

name: Check links
on:
schedule:
- cron: '0 1 * * 4' # every Thursday, at 1AM
workflow_dispatch:
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Install Muffet
run: |
go install github.com/raviqqe/muffet/v2@latest
- name: Run check links
run: |
make check-links
- name: Ping on Slack
uses: slackapi/slack-github-action@v1.27.0
if: ${{ failure() && github.ref_name == 'main' }}
with:
payload: |

Check failure on line 33 in .github/workflows/link-checker.yaml

View workflow run for this annotation

GitHub Actions / Check links

Invalid workflow file

The workflow is not valid. .github/workflows/link-checker.yaml (Line: 33, Col: 20): Unrecognized named-value: 'GITHUB_RUN_ID'. Located at position 1 within expression: GITHUB_RUN_ID
{
"runId": "${{GITHUB_RUN_ID}}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_BROKEN_LINKS }}