Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: |
merge_base=$(git merge-base origin/${{ github.base_ref }} HEAD)
config_modified=$(git diff --name-only $merge_base...${{ github.event.pull_request.head.sha }} \
| grep -E '\.github/scripts/(lychee-config\.toml|link-check\.sh|dependencies\.Dockerfile)$' || true)
| grep -E '^(\.github/config/lychee\.toml|mise\.toml)$' || true)
if [ -n "$config_modified" ]; then
echo "modified=true" >> $GITHUB_OUTPUT
else
Expand Down
3 changes: 2 additions & 1 deletion mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ lychee = "0.18.1"
run = 'lychee --verbose --scheme file --include-fragments {{arg(name="files", default=".")}}'

[tasks.lint-links]
run = 'lychee --verbose --config .github/scripts/lychee-config.toml {{arg(name="files", default=".")}}'
run = 'lychee --verbose --config .github/config/lychee.toml {{arg(name="files", var=true, default=".")}}'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

var=true is needed to handle when there are multiple .md files updated in a single PR


[settings]
# Only install tools explicitly defined in the [tools] section above
idiomatic_version_file_enable_tools = []
Loading