📝 (#779): Archived the workshop 2024 category #2037
This file contains 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: Check links | |
on: | |
pull_request: #Action fires anytime a PR is (re)opened or synchronized | |
types: | |
- opened | |
- reopened | |
- synchronize | |
workflow_call: | |
jobs: | |
link-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout main repo | |
if: ${{github.event_name == 'pull_request'}} | |
uses: actions/checkout@master | |
- name: Checkout repo | |
if: ${{github.event_name != 'pull_request'}} | |
uses: actions/checkout@master | |
with: | |
ref: main | |
- name: Link checker | |
uses: lycheeverse/lychee-action@2b973e86fc7b1f6b36a93795fe2c9c6ae1118621 #v1.10.0 | |
with: | |
fail: true | |
args: --config .github/workflows/lychee-config.toml './docs/**/*.md' './docs/**/*.html' |