Skip to content

Commit 022819c

Browse files
committed
2 parents 8b1afd6 + 0b1b026 commit 022819c

3 files changed

Lines changed: 35 additions & 17 deletions

File tree

.github/advanced_issue_labeler.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
policy:
55
- template: [FormBugReportEN.yml, FormBugReportPT.yml]
66
section:
7-
- id: [IDE]
7+
- id: ['IDE']
88
block-list: []
99
label:
1010
- name: "ide: Delphi"
1111
keys: [
12-
"Delphi 12+ Athens",
13-
"Delphi 11.3 Alexandria",
12+
"Delphi 13.x Florence",
13+
"Delphi 12.x Athens",
14+
"Delphi 11.x Alexandria",
1415
"Delphi 10.4 Sydney",
1516
"Delphi 10.3 Rio",
1617
"Delphi 10.2 Tokyo",
@@ -31,9 +32,13 @@ policy:
3132
"Delphi 2006",
3233
"Delphi 7"]
3334
- name: "ide: Lazarus"
34-
keys: ["Lazarus 3.0 - 3.2+", "Lazarus 2.0 - 2.2.6", "Lazarus < 2.0"]
35-
- id: [OS]
36-
block-list: [Other]
35+
keys: [
36+
"Lazarus 4.0 - 4.x",
37+
"Lazarus 3.0 - 3.x",
38+
"Lazarus 2.0 - 2.x",
39+
"Lazarus < 2.0"]
40+
- id: ['OS']
41+
block-list: []
3742
label:
3843
- name: "os: Android"
3944
keys: [Android]

.github/workflows/issue_labeler.yml

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,36 @@ permissions:
88

99
jobs:
1010
label-component:
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-latest
1212

1313
permissions:
1414
issues: write
1515

16-
strategy:
17-
matrix:
18-
template: [ FormBugReportEN.yml, FormBugReportPT.yml ]
19-
2016
steps:
2117
- uses: actions/checkout@v4
2218

23-
- name: Parse issue form
19+
- name: Parse issue form EN
20+
uses: stefanbuck/github-issue-parser@v3
21+
id: issue-parser-en
22+
with:
23+
template-path: .github/ISSUE_TEMPLATE/FormBugReportEN.yml
24+
25+
- name: Parse issue form PT
2426
uses: stefanbuck/github-issue-parser@v3
25-
id: issue-parser
27+
id: issue-parser-pt
2628
with:
27-
template-path: .github/ISSUE_TEMPLATE/${{ matrix.template }}
29+
template-path: .github/ISSUE_TEMPLATE/FormBugReportPT.yml
30+
31+
- name: Set labels of form-report-en
32+
uses: redhat-plumbers-in-action/advanced-issue-labeler@v3
33+
with:
34+
issue-form: ${{ steps.issue-parser-en.outputs.jsonString }}
35+
token: ${{ secrets.GITHUB_TOKEN }}
36+
continue-on-error: true
2837

29-
- name: Set labels based on component field
38+
- name: Set labels of form-report-pt
3039
uses: redhat-plumbers-in-action/advanced-issue-labeler@v3
3140
with:
32-
issue-form: ${{ steps.issue-parser.outputs.jsonString }}
33-
template: ${{ matrix.template }}
41+
issue-form: ${{ steps.issue-parser-pt.outputs.jsonString }}
3442
token: ${{ secrets.GITHUB_TOKEN }}
43+
continue-on-error: true

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2323

2424

2525
### Fixed
26+
- **Refactor issue labeler workflow** (2025-11-29 – Mobius One)
27+
28+
- **Refactor issue labeler workflow** (2025-11-29 – Mobius One)
29+
2630
- **fix: - Correção de compilação para Delphi 10.2 Tokyo, testes pendentes** (2025-11-26 – Mobius One)
2731

2832
- **fix: - Correção de memoryleak na conversão de StreamToString. #118 - Remoção de redundância do fix anterior.** (2025-11-23 – Mobius One)

0 commit comments

Comments
 (0)