mirror of
https://github.com/hadolint/hadolint-action.git
synced 2026-07-06 08:31:42 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1623ba6171 |
+9
-1
@@ -7,7 +7,15 @@
|
||||
TMP_FOLDER=$(mktemp -d -p .)
|
||||
cp /problem-matcher.json "${TMP_FOLDER}"
|
||||
chmod -R a+rX "${TMP_FOLDER}"
|
||||
trap "rm -rf \"${TMP_FOLDER}\"" EXIT
|
||||
|
||||
# After the run has finished we remove the problem-matcher.json from
|
||||
# the repository so we don't leave the checkout dirty. We also remove
|
||||
# the matcher so it won't take effect in later steps.
|
||||
cleanup() {
|
||||
echo "::remove-matcher owner=brpaz/hadolint-action::"
|
||||
rm -rf "${TMP_FOLDER}"
|
||||
}
|
||||
trap cleanup EXIT
|
||||
|
||||
echo "::add-matcher::${TMP_FOLDER}/problem-matcher.json"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "hadolint",
|
||||
"owner": "brpaz/hadolint-action",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "(.*)\\:(\\d+)\\s(.*)",
|
||||
|
||||
Reference in New Issue
Block a user