Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
feat(gh): add default GitHub repo files
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Feb 18, 2024
1 parent d7145a6 commit 186dec2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- .github/workflows/links.yml
- lychee.toml
schedule:
- cron: "0 0 * * 1"
- cron: "0 0 * * 2"

permissions: read-all

Expand All @@ -35,5 +35,5 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: lycheeverse/lychee-action@c053181aa0c3d17606addfe97a9075a32723548a # v1.9.3
with:
args: ". --exclude-path CHANGELOG.md ${{ steps.pages.outputs.base_url }}"
args: ". ${{ steps.pages.outputs.base_url }}"
fail: true
3 changes: 3 additions & 0 deletions lychee.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ accept = [999]

# Exclude URLs and mail addresses from checking (supports regex)
exclude = [
# returns 403 when accessed from GitHub Action
'stackoverflow\.com',
'stackexchange\.com',
# Ignore all URLs with '$' - BASH variable in URL
'\$',
# Ignore all URLs with '{ ... }' - BASH / Ansible variable in URL
Expand Down

0 comments on commit 186dec2

Please sign in to comment.