We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18df0c4 commit 90833f3Copy full SHA for 90833f3
.github/workflows/auto-close.yml
@@ -2,12 +2,12 @@ name: Autocloser
2
on: [issues]
3
jobs:
4
autoclose:
5
+ if: ${{ github.event.label.name == 'bug' }}
6
runs-on: ubuntu-latest
7
steps:
8
- name: Autoclose issues that did not follow issue template
9
uses: roots/[email protected]
10
with:
11
repo-token: ${{ secrets.GITHUB_TOKEN }}
- label: "bug"
12
issue-close-message: "@${issue.user.login} this issue was automatically closed because it did not follow the issue template"
13
issue-pattern: "Describe the bug(.|[\\r\\n])*To Reproduce(.|[\\r\\n])*Expected behavior(.|[\\r\\n])*Smartphone(.|[\\r\\n])"
0 commit comments