-
Notifications
You must be signed in to change notification settings - Fork 11
43 lines (35 loc) · 1.13 KB
/
issue_labeler.yml
File metadata and controls
43 lines (35 loc) · 1.13 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Issue labeler
on:
issues:
types: [ opened ]
permissions:
contents: read
jobs:
label-component:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/checkout@v4
- name: Parse issue form EN
uses: stefanbuck/github-issue-parser@v3
id: issue-parser-en
with:
template-path: .github/ISSUE_TEMPLATE/FormBugReportEN.yml
- name: Parse issue form PT
uses: stefanbuck/github-issue-parser@v3
id: issue-parser-pt
with:
template-path: .github/ISSUE_TEMPLATE/FormBugReportPT.yml
- name: Set labels of form-report-en
uses: redhat-plumbers-in-action/advanced-issue-labeler@v3
with:
issue-form: ${{ steps.issue-parser-en.outputs.jsonString }}
token: ${{ secrets.GITHUB_TOKEN }}
continue-on-error: true
- name: Set labels of form-report-pt
uses: redhat-plumbers-in-action/advanced-issue-labeler@v3
with:
issue-form: ${{ steps.issue-parser-pt.outputs.jsonString }}
token: ${{ secrets.GITHUB_TOKEN }}
continue-on-error: true