Browse Source

meta(gha): Deploy action validate-new-issue.yml (#24548)

I are a bot, here to deploy [validate-new-issue.yml](https://github.com/getsentry/.github/blob/6b97fda4e0d15db639960061da72bd8566692a81/.github/workflows/validate-new-issue.yml). πŸ€–
Burak Yigit Kaya 4 years ago
parent
commit
f627021548
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/validate-new-issue.yml

+ 2 - 2
.github/workflows/validate-new-issue.yml

@@ -41,7 +41,7 @@ jobs:
           # - is a report about buggy validation πŸ˜… or ...
           # - not empty (ignoring whitespace)
           # - matches a template
-          #   - all the headings are also in this issue
+          #   - at least one of the headings are also in this issue
           #   - extra headings in the issue are fine
           #   - order doesn't matter
           #   - case-sensitive tho
@@ -66,7 +66,7 @@ jobs:
               echo -n "$(basename $template)? "
               if [ ! -s headings-in-template ]; then
                 echo "No headers in template. 🀷"
-              elif [ -z "$(comm -23 headings-in-template headings-in-issue)" ]; then
+              elif [ "$(comm -12 headings-in-template headings-in-issue)" ]; then
                 echo "Match! πŸ‘ πŸ’ƒ"
                 if diff -Bw "$template" issue > /dev/null; then
                   echo "... like, an /exact/ match. πŸ˜–"