File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,12 @@ jobs:
1212 steps :
1313 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1414 with :
15- fetch-depth : 0 # needed for merge-base below
15+ fetch-depth : 0 # needed for merge-base used in lint:links-in-modified-files
1616
1717 - uses : jdx/mise-action@e3d7b8d67a7958d1207f6ed871e83b1ea780e7b0 # v3.3.1
1818
1919 - name : Link check - relative links (all files)
20+ if : github.event_name == 'pull_request'
2021 env :
2122 GITHUB_TOKEN : ${{ github.token }}
2223 run : mise run lint:local-links
Original file line number Diff line number Diff line change 55
66# USAGE arg "<file>" var=#true help="files to check" default="."
77
8- lychee --verbose --config .github/config/lychee.toml " $usage_file "
8+ for f in $usage_file ; do
9+ echo " Checking links in file: $f "
10+ done
11+
12+ # shellcheck disable=SC2086
13+ lychee --verbose --config .github/config/lychee.toml $usage_file
Original file line number Diff line number Diff line change 55
66# USAGE arg "<file>" var=#true help="files to check" default="."
77
8- lychee --verbose --scheme file --include-fragments " $usage_file "
8+ for f in $usage_file ; do
9+ echo " Checking links in file: $f "
10+ done
11+
12+ # shellcheck disable=SC2086
13+ lychee --verbose --scheme file --include-fragments $usage_file
You can’t perform that action at this time.
0 commit comments