Skip to content

[FeatureRequest]: Hide emergency stop switch #46

[FeatureRequest]: Hide emergency stop switch

[FeatureRequest]: Hide emergency stop switch #46

Workflow file for this run

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.