Consolidate security and Cockpit management flows #110
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 | |
| on: | |
| schedule: | |
| - cron: '0 3 * * 1' | |
| pull_request: | |
| paths: | |
| - '**/*.md' | |
| workflow_dispatch: {} | |
| jobs: | |
| lychee: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Run lychee link checker | |
| id: lychee | |
| uses: lycheeverse/lychee-action@v2.0.2 | |
| with: | |
| args: >- | |
| --config .lychee.toml | |
| --verbose | |
| --no-progress | |
| . | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Annotate report | |
| if: always() | |
| run: | | |
| echo 'Lychee exit code: $?' | |
| - name: Fail on broken links | |
| if: steps.lychee.outcome == 'failure' | |
| run: exit 1 |