Update remove-matcher commands to reflect changed problem matcher owners

This commit is contained in:
per1234
2020-05-30 08:17:48 -07:00
parent 420f354b10
commit a5f3404c31
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -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
View File
@@ -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" {