-
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (23 loc) · 909 Bytes
/
Issue-text.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: issue-text
on:
issues:
types: [opened]
jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: peter-evans/create-or-update-comment@v2
with:
body: Hey, thank you for creating an issue. We will normally respond within 24 hours.
issue-number: ${{ github.event.issue.number }}
token: ${{ secrets.BOT }}
- uses: stefanbuck/github-issue-parser@v2
id: issue-parser
with:
template-path: .github/ISSUE_TEMPLATE/bug_report.yml
- run: echo '${{ steps.issue-parser.outputs.jsonString }}'
- run: echo ${{ steps.issue-parser.outputs.issueparser_what_browser_are_you_seeing_the_problem_on }}
- uses: actions-ecosystem/action-add-labels@v1
with:
labels: ${{ steps.issue-parser.outputs.issueparser_what_browser_are_you_seeing_the_problem_on }}
github_token: ${{ secrets.BOT }}