Update remove-matcher commands to reflect changed problem matcher owners
This commit is contained in:
+3
-2
@@ -33,8 +33,9 @@ else
|
||||
echo "Codespell found one or more problems"
|
||||
fi
|
||||
|
||||
# Remove the matcher, so no other jobs hit it.
|
||||
echo "::remove-matcher owner=codespell::"
|
||||
# Remove the matchers, so no other jobs hit them.
|
||||
echo "::remove-matcher owner=codespell-matcher-default::"
|
||||
echo "::remove-matcher owner=codespell-matcher-specified::"
|
||||
|
||||
# If we are in warn-only mode, return always as if we pass
|
||||
if [ -n "${INPUT_ONLY_WARN}" ]; then
|
||||
|
||||
+3
-2
@@ -31,8 +31,9 @@ function setup() {
|
||||
[ "${lines[1]}" == "::add-matcher::${RUNNER_TEMP}/_github_workflow/codespell-matcher.json" ]
|
||||
outputRegex="^Running codespell on '${INPUT_PATH}'"
|
||||
[[ "${lines[2]}" =~ $outputRegex ]]
|
||||
[ "${lines[-2]}" == "Codespell found one or more problems" ]
|
||||
[ "${lines[-1]}" == "::remove-matcher owner=codespell::" ]
|
||||
[ "${lines[-3]}" == "Codespell found one or more problems" ]
|
||||
[ "${lines[-2]}" == "::remove-matcher owner=codespell-matcher-default::" ]
|
||||
[ "${lines[-1]}" == "::remove-matcher owner=codespell-matcher-specified::" ]
|
||||
}
|
||||
|
||||
@test "Check file names" {
|
||||
|
||||
Reference in New Issue
Block a user