Merge pull request #488 from civicteam/release-notes/v0.1.90 #882
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Link Check (Branch) | |
| on: | |
| push: | |
| branches-ignore: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| link-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Link Checker (Local Files) | |
| uses: lycheeverse/lychee-action@v2 | |
| with: | |
| # Check relative links as file paths using root-dir | |
| args: > | |
| --config lychee.toml | |
| --root-dir ${{ github.workspace }} | |
| --no-progress | |
| '**/*.md' | |
| '**/*.mdx' | |
| fail: true | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Create Issue From File | |
| if: failure() | |
| uses: peter-evans/create-issue-from-file@v5 | |
| with: | |
| title: 'Link Checker Report: Broken Links Found' | |
| content-filepath: ./lychee/out.md | |
| labels: | | |
| documentation | |
| automated |