Readme Links Watcher #516
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
# This workflow uses the lychee-action to check the links | |
# in your markdown files for validity. | |
# You can exclude links via a .lycheeignore file in your repository root. | |
# You find further information about lychee-action in the documentation at: | |
# https://github.com/lycheeverse/lychee-action | |
name: Readme Links Watcher | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
links-watcher: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout source code" | |
uses: actions/checkout@v3 | |
- name: Check links in markdown files | |
id: lychee | |
uses: lycheeverse/lychee-action@v1.3.0 | |
with: | |
fail: true | |
args: --verbose --no-progress --exclude-mail --exclude-file .lycheeignore --exclude-all-private **/*.md | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |