Skip to content

chore(deps): update actions/upload-artifact action to v3.1.3 (#410) #332

chore(deps): update actions/upload-artifact action to v3.1.3 (#410)

chore(deps): update actions/upload-artifact action to v3.1.3 (#410) #332

Workflow file for this run

name: check links
on:
pull_request:
branches:
- master
push:
branches:
- master
permissions: read-all
jobs:
check-links:
runs-on: ubuntu-22.04
permissions:
issues: write
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: run lychee link checker
id: lychee
uses: lycheeverse/lychee-action@ec3ed119d4f44ad2673a7232460dc7dff59d2421 # v1.8.0
with:
fail: true
args: "--config=.lychee.toml ."
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: create issue
if: ${{ env.lychee_exit_code != 0}}
uses: peter-evans/create-issue-from-file@433e51abf769039ee20ba1293a088ca19d573b7f #tag=v4.0.1
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue