Skip to content

Commit 972eb39

Browse files
committed
Add new skip-invalid option of the linter
1 parent 34a82a5 commit 972eb39

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

hooks/command

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,8 @@ if [[ -n "${BUILDKITE_PLUGIN_PLUGIN_LINTER_README:-}" ]] ; then
2626
args+=("--env" "PLUGIN_README=$BUILDKITE_PLUGIN_PLUGIN_LINTER_README")
2727
fi
2828

29+
if [[ -n "${BUILDKITE_PLUGIN_PLUGIN_LINTER_SKIP_INVALID:-}" ]] ; then
30+
args+=("--env" "PLUGIN_SKIP_INVALID=$BUILDKITE_PLUGIN_PLUGIN_LINTER_SKIP_INVALID")
31+
fi
32+
2933
docker run "${args[@]}" buildkite/plugin-linter:"${TAG}"

0 commit comments

Comments
 (0)