File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 55
66# USAGE flag "--base <base>" help="base branch to compare against (default: origin/main)" default="origin/main"
77# USAGE flag "--head <head>" help="head branch to compare against (empty for local changes) (default: empty)" default=""
8- # USAGE flag "--event <event>" help="event name (default: pull_request)" default="pull_request"
98
109if [ " $usage_head " = " ''" ]; then
1110 usage_head=" "
1716config_modified=$( git diff --name-only --merge-base " $usage_base " $usage_head \
1817 | grep -E ' ^(\.github/config/lychee\.toml|\.mise/tasks/lint/.*|mise\.toml)$' || true)
1918
20- if [ " $usage_event " != " pull_request" ] ; then
21- echo " Not a PR - checking all files."
22- mise run lint:links
23- elif [ -n " $config_modified " ] ; then
19+ if [ -n " $config_modified " ] ; then
2420 echo " config changes, checking all files."
2521 mise run lint:links
2622else
You can’t perform that action at this time.
0 commit comments