Skip to content

Commit

Permalink
link-checker: exclude private URLs like localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
egpbos committed Nov 3, 2023
1 parent 10df93d commit 57de60b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/link-checker-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
env:
GITHUB_TOKEN: ${{secrets.TOKEN_GITHUB}}
with:
args: ${{ steps.changed_files.outputs.all }}
args: --exclude-all-private ${{ steps.changed_files.outputs.all }}
- name: Count broken links
run: |
broken_max=10
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
id: lychee
env:
GITHUB_TOKEN: ${{secrets.TOKEN_GITHUB}}
with:
args: --exclude-all-private
- name: Count broken links
run: |
broken_max=10
Expand Down

0 comments on commit 57de60b

Please sign in to comment.