-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from moreal/broken-link-checker
Broken link checker
- Loading branch information
Showing
3 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Links | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "00 18 * * *" | ||
pull_request: | ||
|
||
jobs: | ||
check-links-in-locals: | ||
if: github.event_name == 'pull_request' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Check broken links | ||
uses: lycheeverse/lychee-action@v2 | ||
with: | ||
args: --method GET --fallback-extensions md --exclude dorahacks.io --exclude-path */forum-trunk */**/*.md | ||
|
||
check-links-in-remote: | ||
if: github.event_name != 'pull_request' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check broken links | ||
uses: lycheeverse/lychee-action@v2 | ||
with: | ||
args: --method GET --fallback-extensions md --exclude dorahacks.io --exclude-path */forum-trunk https://nine-chronicles.dev/ |
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 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