[Bug report] #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: issue-labeled | |
on: | |
issues: | |
types: [labeled] | |
jobs: | |
issue-invalid: | |
name: close invalid issue | |
if: github.event.label.name == 'invalid' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions-cool/issues-helper@v3 | |
with: | |
actions: 'close-issue, create-comment' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
body: | | |
Hello @${{ github.event.issue.user.login }}. This issue is marked as `invalid` and closed. Please follow the issue template. | |
issue-need-reproduction: | |
name: need reproduction | |
if: github.event.label.name == 'need reproduction' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions-cool/issues-helper@v3 | |
with: | |
actions: 'create-comment' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
body: | | |
Hello @${{ github.event.issue.user.login }}. Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) using a GitHub repository or [v2.vuepress.vuejs.org/new](https://v2.vuepress.vuejs.org/new). Issues marked with `need reproduction` will be closed if they have no activity within 7 days. |