Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Lock <tony@duet3d.com>2022-02-07 20:30:43 +0300
committerGitHub <noreply@github.com>2022-02-07 20:30:43 +0300
commit4eeabbd9d9c3de8c19dde22184f47d61feddffe4 (patch)
tree1fda5dfe6e7a8917b7684f8f4393aab0f1baeffc /.github
parent688110d92bc7cb5e630dc7d87d484963f0fc032a (diff)
Create issues.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/issues.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml
new file mode 100644
index 00000000..c02b9e26
--- /dev/null
+++ b/.github/workflows/issues.yml
@@ -0,0 +1,24 @@
+name: Auto-close blank templates
+on:
+ issues:
+ types: [opened]
+jobs:
+ add-comment:
+ runs-on: ubuntu-latest
+ permissions:
+ issues: write
+ steps:
+ - name: Check user permission
+ id: check
+ uses: scherermichael-oss/action-has-permission@master
+ with:
+ required-permission: write
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ - if: steps.check.outputs.has-permission == false && contains(github.event.issue.labels.*.name, 'bug') == false && contains(github.event.issue.labels.*.name, 'enhancement') == false
+ name: Close Issue
+ uses: peter-evans/close-issue@v1
+ with:
+ comment: |
+ This issue has been automatically closed because it does not originate from a Duet3D administrator.
+ Please create a discussion on https://forum.duet3d.com first and fill out the corresponding GitHub template if the bug or feature request is acknowledged.