Missing --checkout latest
instruction
#1359
Workflow file for this run
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 is a basic workflow to check for broken links with GitHub Actions | |
name: Link Checker | |
on: | |
push: | |
branches: | |
- main | |
- "renovate/**" | |
pull_request: | |
jobs: | |
link-checker: | |
timeout-minutes: 2 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Link Checker | |
id: lychee | |
uses: lycheeverse/lychee-action@2b973e86fc7b1f6b36a93795fe2c9c6ae1118621 # v1.10.0 | |
with: | |
# Exclude the image.sc forum (which works) but returns 403 from | |
# github runners and exclude relative links to other pages. Ignore | |
# gnu.org and fsf.org because they're often down but are still the right | |
# websites to link to! | |
# | |
# Ignore the whole of the project slug README since the links are | |
# necessarily not real links - i.e. demos and to be filled by | |
# cookiecutter values. | |
args: | |
"--verbose --exclude https://forum.image.sc/ --exclude http://www.gnu.org --exclude http://fsf.org --exclude docs/pages | |
--exclude-path '{{cookiecutter.project_slug}}/README.md' -- ." | |
fail: true | |
jobSummary: true | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |