Skip to content

Commit

Permalink
ci: post message, when adding "need reproduction" label
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Aug 4, 2022
1 parent a59cefc commit de85869
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/issue-labeled.yml
@@ -0,0 +1,19 @@
name: Issue Labeled

on:
issues:
types: [labeled]

jobs:
reply-labeled:
runs-on: ubuntu-latest
steps:
- name: need reproduction
if: github.event.label.name == 'need reproduction'
uses: actions-cool/issues-helper@v3
with:
actions: create-comment
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
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://vitest.new). Issues marked with `need reproduction` will be closed if they have no activity within 3 days.

0 comments on commit de85869

Please sign in to comment.