Skip to content

Commit ff7cbcb

Browse files
authored
Minor updates to mise/lychee workflow (open-telemetry#2219)
1 parent d05ba6c commit ff7cbcb

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
File renamed without changes.

.github/workflows/reusable-link-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: |
4242
merge_base=$(git merge-base origin/${{ github.base_ref }} HEAD)
4343
config_modified=$(git diff --name-only $merge_base...${{ github.event.pull_request.head.sha }} \
44-
| grep -E '\.github/scripts/(lychee-config\.toml|link-check\.sh|dependencies\.Dockerfile)$' || true)
44+
| grep -E '^(\.github/config/lychee\.toml|mise\.toml)$' || true)
4545
if [ -n "$config_modified" ]; then
4646
echo "modified=true" >> $GITHUB_OUTPUT
4747
else

mise.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ lychee = "0.18.1"
55
run = 'lychee --verbose --scheme file --include-fragments {{arg(name="files", default=".")}}'
66

77
[tasks.lint-links]
8-
run = 'lychee --verbose --config .github/scripts/lychee-config.toml {{arg(name="files", default=".")}}'
8+
run = 'lychee --verbose --config .github/config/lychee.toml {{arg(name="files", var=true, default=".")}}'
99

1010
[settings]
11+
# Only install tools explicitly defined in the [tools] section above
1112
idiomatic_version_file_enable_tools = []

0 commit comments

Comments
 (0)