Prechádzať zdrojové kódy

Create issue_closer.yml

arkon 5 rokov pred
rodič
commit
c0e6e03dc6
1 zmenil súbory, kde vykonal 13 pridanie a 0 odobranie
  1. 13 0
      .github/workflows/issue_closer.yml

+ 13 - 0
.github/workflows/issue_closer.yml

@@ -0,0 +1,13 @@
+name: Issue closer
+on: [issues]
+jobs:
+  autoclose:
+    runs-on: ubuntu-latest
+    steps:
+    - name: Autoclose issue
+      uses: arkon/[email protected]
+      with:
+        repo-token: ${{ secrets.GITHUB_TOKEN }}
+        issue-close-message: "@${issue.user.login} this issue was automatically closed because it was not filled in correctly or the acknowledgment section was not removed."
+        issue-title-pattern: ".*THIS ISSUE IS IN THE WRONG REPO.*"
+        issue-body-pattern: ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*"