Skip to content

Commit 0bfec1f

Browse files
TheRealNoobclaude
andauthored
[CI] fix issue triage labeler missing template input (#90)
The advanced-issue-labeler action requires a `template` input to match the correct policy block in the labeler config. Without it, the action prints "Nothing to do here" and never applies chart labels. Add the template input using the same bug/enhancement conditional already used by the issue-parser step. Signed-off-by: TheRealNoob <mike1118@live.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent cf90078 commit 0bfec1f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/issue-triage.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ jobs:
4646
uses: redhat-plumbers-in-action/advanced-issue-labeler@b80ae64e3e156e9c111b075bfa04b295d54e8e2e # v3.2.4
4747
with:
4848
issue-form: ${{ steps.issue-parser.outputs.jsonString }}
49+
template: >-
50+
${{
51+
contains(github.event.issue.labels.*.name, 'bug')
52+
&& 'bug_report.yml' || 'feature_request.yml'
53+
}}
4954
section: chart-name
5055
config-path: .github/advanced-issue-labeler.yml
5156
token: ${{ github.token }}

0 commit comments

Comments
 (0)