diff options
author | Christian Hammacher <bmasterc@gmail.com> | 2022-01-21 15:05:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-21 15:05:06 +0300 |
commit | 3fcc96bc2270ff043ee630d03cc140f715c7f0b7 (patch) | |
tree | 66c1d65d04e25552b34a90c4784c98d547af8e76 | |
parent | a1b2f3a78bc198129a03df2e87c9b594edf7fd6b (diff) |
Create issues.yml
-rw-r--r-- | .github/workflows/issues.yml | 24 |
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..aba28789 --- /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: contains(github.event.issue.labels.*.name, 'bug') == false && contains(github.event.issue.labels.*.name, 'FeatureRequest') == 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. |