Skip to content

Commit 9161ba7

Browse files
authored
update goggles_action to use 1.2.1 (#4523)
Signed-off-by: Po-Wei Wang (Vincent) <poweiw@nvidia.com>
1 parent 2114dc7 commit 9161ba7

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/label_issue.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
repository: poweiw/goggles_action
1919
path: ./.github/actions/goggles_action # local path to store the action
2020
token: ${{ secrets.ACTION_REPO_PAT }} # token to access poweiw/goggles_action
21-
ref: v1.0.1
21+
ref: v1.2.1
2222

2323
- name: AI Label Issue
2424
uses: ./.github/actions/goggles_action/actions/llm_label
@@ -36,4 +36,12 @@ jobs:
3636
ISSUE_TITLE: ${{ github.event.issue.title }}
3737
ISSUE_BODY: ${{ github.event.issue.body }}
3838
GITHUB_API_URL: ${{ github.api_url }}
39-
ACTIONS_STEP_VERBOSE: false
39+
ACTIONS_STEP_VERBOSE: false
40+
EXCLUDED_LABELS: "Investigating,internal-bug-tracked,stale,triaged,wontfix"
41+
LLM_SYSTEM_PROMPT: |
42+
You are an expert GitHub issue labeler. Your task is to analyze the provided issue title, issue body, and a list of available labels with their descriptions.
43+
Based on this information, select the single most appropriate label from the list that best captures the primary issue or request.
44+
Prefer selecting only one label that represents the main topic or problem. Only suggest multiple labels if the issue genuinely spans multiple distinct areas that are equally important.
45+
Respond with ONLY the chosen label name (e.g., 'bug', 'feature-request') or comma-separated names if multiple are truly needed.
46+
If no labels seem appropriate, respond with 'NONE'.
47+
Do not add any other text, explanation, or markdown formatting.

0 commit comments

Comments
 (0)