Skip to content

Commit

Permalink
Add back report job and remove trigger on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
poornima-krishnasamy committed Jan 12, 2024
1 parent 2e825d6 commit 5cf28df
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Links
on:
repository_dispatch:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened]
schedule:
- cron: "00 18 * * *"

Expand All @@ -17,6 +15,13 @@ jobs:
- name: Link Checker
uses: lycheeverse/[email protected]
with:
args: --verbose --no-progress **/*.md **/*.html **/*.erb .ignore-links --accept 200,429,403,400,301,302,401 --exclude-mail
args: --verbose --no-progress **/*.md **/*.html **/*.erb --accept 200,429,403,400,301,302,401 --exclude-mail
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Create Issue From File
uses: peter-evans/create-issue-from-file@v3
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: documentation

0 comments on commit 5cf28df

Please sign in to comment.