Check Links #2205
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: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- plugins/** | |
schedule: | |
- cron: "0 1 * * *" | |
jobs: | |
linkChecker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create plugins.json For All Plugins | |
if: ${{ github.event_name == 'schedule' }} | |
run: | | |
python ./ci/src/merge-manifest.py | |
- name: Create plugins.json For New Plugins Only | |
if: ${{ github.event_name == 'pull_request' }} | |
run: | | |
python ./ci/src/merge-manifest.py new-only | |
- name: Link Checker | |
id: lychee | |
uses: lycheeverse/lychee-action@v2 | |
with: | |
args: --verbose --no-progress plugins.json | |
fail: true | |
token: ${{ secrets.LINKCHECKER }} |