issue-labeled.yml 1.3 KB

123456789101112131415161718192021222324
  1. name: Issue Labeled
  2. on:
  3. issues:
  4. types: [labeled]
  5. jobs:
  6. issue-labeled:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - name: blocked/need-repro
  10. if: github.event.label.name == 'blocked/need-repro'
  11. uses: actions-cool/issues-helper@dad28fdb88da5f082c04659b7373d85790f9b135 # v3.3.0
  12. with:
  13. actions: 'create-comment'
  14. body: |
  15. Hello @${{ github.event.issue.user.login }}. Thanks for reporting this and helping to make Electron better!
  16. Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, [Electron Fiddle](https://www.electronjs.org/fiddle) is a great tool for making small test cases and makes it easy to publish your test case to a [gist](https://gist.github.com) that Electron maintainers can use.
  17. Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.
  18. Now adding the `blocked/need-repro` label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.