]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Try checking labels instead
authorArran Cudbard-Bell <a.cudbardb@gmail.com>
Wed, 14 Jul 2021 14:52:02 +0000 (09:52 -0500)
committerGitHub <noreply@github.com>
Wed, 14 Jul 2021 14:52:02 +0000 (09:52 -0500)
.github/workflows/close.yml

index 31dcc5f20cd5549bc1880208a7bf3e2267924a0d..844bc1b4cc4c7233da431479efc305ec70989cf2 100644 (file)
@@ -5,12 +5,11 @@ jobs:
   titlePrefixCheck:
     runs-on: ubuntu-latest
     steps:
-      - if: contains(github.event.issue.title, 'DO NOT SUBMIT') != 'true'
+      - if: contains(github.event.issue.labels.*.name, 'other') != 'true'
         name: Close Issue
         uses: peter-evans/close-issue@v1
         with:
           comment: |
-            Issue should not have been opened.  Direct questions about
-            server operation to the FreeRADIUS users mailing list
-            https://freeradius.org/support/.
+            Direct questions about server operation or development to the 
+            FreeRADIUS mailing lists https://freeradius.org/support/.