2023-07-17 19:14:33 +00:00
name : Issue Labeled
on :
issues :
types : [ labeled]
jobs :
reply-labeled :
if : github.repository == 'withastro/astro'
runs-on : ubuntu-latest
steps :
- name : remove triage
2023-07-17 19:48:24 +00:00
if : contains(github.event.label.description, '(priority)') && contains(github.event.issue.labels.*.name, 'needs triage')
2023-07-17 19:14:33 +00:00
uses : actions-cool/issues-helper@v3
with :
actions : "remove-labels"
token : ${{ secrets.GITHUB_TOKEN }}
issue-number : ${{ github.event.issue.number }}
2023-07-17 19:48:24 +00:00
labels : "needs triage"
2023-07-17 19:14:33 +00:00
- name : needs repro
2023-07-17 19:53:51 +00:00
if : github.event.label.name == 'needs repro'
2023-07-17 19:14:33 +00:00
uses : actions-cool/issues-helper@v3
with :
actions : "create-comment, remove-labels"
token : ${{ secrets.GITHUB_TOKEN }}
issue-number : ${{ github.event.issue.number }}
body : |
2023-07-17 19:48:24 +00:00
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://astro.new). Issues marked with `needs repro` will be closed if they have no activity within 3 days.
labels : "needs triage"