| if: github.event.label.name == 'actions/autoclose-qa' |
| ISSUE_URL: ${{ github.event.issue.html_url }} |
| GH_TOKEN: ${{ github.token }} |
| gh issue close $ISSUE_URL \ |
| --comment "As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow](https://stackoverflow.com/)" \ |
| gh issue lock $ISSUE_URL --reason off_topic |
| if: github.event.label.name == 'actions/autoclose-feat' |
| ISSUE_URL: ${{ github.event.issue.html_url }} |
| GH_TOKEN: ${{ github.token }} |
| gh issue close $ISSUE_URL \ |
| --comment "As described in the template, Requests is not accepting feature requests" \ |
| gh issue lock $ISSUE_URL --reason off_topic |