From 2905f4a8a06640aaf87469a1df350483364357e3 Mon Sep 17 00:00:00 2001 From: Jerop Kipruto Date: Fri, 3 Oct 2025 07:39:41 -0400 Subject: [PATCH 1/2] style(workflows): improve indentation in workflow files --- .github/workflows/gemini-review.yml | 10 +++++----- .github/workflows/gemini-scheduled-triage.yml | 6 +++--- .../workflows/issue-triage/gemini-scheduled-triage.yml | 6 +++--- examples/workflows/pr-review/gemini-review.yml | 10 +++++----- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/gemini-review.yml b/.github/workflows/gemini-review.yml index c26c30c2..529010ac 100644 --- a/.github/workflows/gemini-review.yml +++ b/.github/workflows/gemini-review.yml @@ -98,11 +98,11 @@ jobs: }, "tools": { "core": [ - "run_shell_command(cat)", - "run_shell_command(echo)", - "run_shell_command(grep)", - "run_shell_command(head)", - "run_shell_command(tail)" + "run_shell_command(cat)", + "run_shell_command(echo)", + "run_shell_command(grep)", + "run_shell_command(head)", + "run_shell_command(tail)" ] } } diff --git a/.github/workflows/gemini-scheduled-triage.yml b/.github/workflows/gemini-scheduled-triage.yml index 90a2acfb..74220029 100644 --- a/.github/workflows/gemini-scheduled-triage.yml +++ b/.github/workflows/gemini-scheduled-triage.yml @@ -114,9 +114,9 @@ jobs: }, "tools": { "core": [ - "run_shell_command(echo)", - "run_shell_command(jq)", - "run_shell_command(printenv)" + "run_shell_command(echo)", + "run_shell_command(jq)", + "run_shell_command(printenv)" ] } } diff --git a/examples/workflows/issue-triage/gemini-scheduled-triage.yml b/examples/workflows/issue-triage/gemini-scheduled-triage.yml index 1c95921f..9487525b 100644 --- a/examples/workflows/issue-triage/gemini-scheduled-triage.yml +++ b/examples/workflows/issue-triage/gemini-scheduled-triage.yml @@ -114,9 +114,9 @@ jobs: }, "tools": { "core": [ - "run_shell_command(echo)", - "run_shell_command(jq)", - "run_shell_command(printenv)" + "run_shell_command(echo)", + "run_shell_command(jq)", + "run_shell_command(printenv)" ] } } diff --git a/examples/workflows/pr-review/gemini-review.yml b/examples/workflows/pr-review/gemini-review.yml index 892c3dc2..4d9c22d5 100644 --- a/examples/workflows/pr-review/gemini-review.yml +++ b/examples/workflows/pr-review/gemini-review.yml @@ -98,11 +98,11 @@ jobs: }, "tools": { "core": [ - "run_shell_command(cat)", - "run_shell_command(echo)", - "run_shell_command(grep)", - "run_shell_command(head)", - "run_shell_command(tail)" + "run_shell_command(cat)", + "run_shell_command(echo)", + "run_shell_command(grep)", + "run_shell_command(head)", + "run_shell_command(tail)" ] } } From e47c74c6ce9ca4763178c30d29fbb46949488c4f Mon Sep 17 00:00:00 2001 From: Jerop Kipruto Date: Fri, 3 Oct 2025 07:39:46 -0400 Subject: [PATCH 2/2] fix(examples): correct step numbering in gemini-triage prompt --- examples/workflows/issue-triage/gemini-triage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/workflows/issue-triage/gemini-triage.yml b/examples/workflows/issue-triage/gemini-triage.yml index c3756276..20edfe2d 100644 --- a/examples/workflows/issue-triage/gemini-triage.yml +++ b/examples/workflows/issue-triage/gemini-triage.yml @@ -115,11 +115,11 @@ jobs: 5. Based on the issue title and issue body, classify the issue and choose all appropriate labels from the list of available labels. - 5. Classify the issue by identifying the appropriate labels from the list of available labels. + 6. Classify the issue by identifying the appropriate labels from the list of available labels. - 6. Convert the list of appropriate labels into a comma-separated list (CSV). If there are no appropriate labels, use the empty string. + 7. Convert the list of appropriate labels into a comma-separated list (CSV). If there are no appropriate labels, use the empty string. - 7. Use the "echo" shell command to append the CSV labels into the filepath referenced by the environment variable "${GITHUB_ENV}": + 8. Use the "echo" shell command to append the CSV labels into the filepath referenced by the environment variable "${GITHUB_ENV}": ``` echo "SELECTED_LABELS=[APPROPRIATE_LABELS_AS_CSV]" >> "[filepath_for_env]"