Skip to content

Commit 8fd34ee

Browse files
authored
Auto label issues
1 parent d6e90e4 commit 8fd34ee

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/Issue-text.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: issue-text
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
comment:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: ben-z/[email protected]
13+
with:
14+
message: "Hey, thank you for creating an issue. We will normally respond within 24 hours."
15+
GITHUB_TOKEN: ${{ secrets.BOT }}
16+
17+
- uses: stefanbuck/github-issue-parser@v2
18+
id: issue-parser
19+
with:
20+
template-path: .github/ISSUE_TEMPLATE/bug_report.yml
21+
22+
- run: echo '${{ steps.issue-parser.outputs.jsonString }}'
23+
24+
- run: echo ${{ steps.issue-parser.outputs.issueparser_what_browser_are_you_seeing_the_problem_on }}
25+
26+
- uses: actions-ecosystem/action-add-labels@v1
27+
with:
28+
labels: ${{ steps.issue-parser.outputs.issueparser_what_browser_are_you_seeing_the_problem_on }}
29+
github_token: ${{ secrets.BOT }}
30+

0 commit comments

Comments
 (0)