├── README.md └── action.yml /README.md: -------------------------------------------------------------------------------- 1 | # needs-reproduction-action 2 | GitHub Action for automating the "needs reproduction" response 3 | -------------------------------------------------------------------------------- /action.yml: -------------------------------------------------------------------------------- 1 | name: needs reproduction 2 | description: This action adds a comment on an issue asking for reproduction after the issue is labeled as "needs reproduction" 3 | author: Tomek Sułkowski 4 | branding: 5 | icon: 'message-square' 6 | color: 'white' 7 | if: github.event.label.name == 'needs reproduction' 8 | uses: actions-cool/issues-helper@v3 9 | with: 10 | actions: "create-comment, remove-labels" 11 | token: ${{ secrets.GITHUB_TOKEN }} 12 | issue-number: ${{ github.event.issue.number }} 13 | body: | 14 | Hello @${{ github.event.issue.user.login }}. Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) using a GitHub repository or [StackBlitz](https://vite.new). Issues marked with `needs reproduction` will be closed if they have no activity within 3 days. 15 | labels: "pending triage" --------------------------------------------------------------------------------