Skip to content

Commit cac9fae

Browse files
seanzhougooglecopybara-github
authored andcommitted
chore: Don't label 'bot triaged' for PR
PiperOrigin-RevId: 816959715
1 parent 24342e9 commit cac9fae

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

contributing/samples/adk_pr_triaging_agent/agent.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from pathlib import Path
1616
from typing import Any
1717

18-
from adk_pr_triaging_agent.settings import BOT_LABEL
1918
from adk_pr_triaging_agent.settings import GITHUB_BASE_URL
2019
from adk_pr_triaging_agent.settings import IS_INTERACTIVE
2120
from adk_pr_triaging_agent.settings import OWNER
@@ -178,7 +177,7 @@ def add_label_and_reviewer_to_pr(pr_number: int, label: str) -> dict[str, Any]:
178177
label_url = (
179178
f"{GITHUB_BASE_URL}/repos/{OWNER}/{REPO}/issues/{pr_number}/labels"
180179
)
181-
label_payload = [label, BOT_LABEL]
180+
label_payload = [label]
182181

183182
try:
184183
response = post_request(label_url, label_payload)

contributing/samples/adk_pr_triaging_agent/settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828
OWNER = os.getenv("OWNER", "google")
2929
REPO = os.getenv("REPO", "adk-python")
30-
BOT_LABEL = os.getenv("BOT_LABEL", "bot triaged")
3130
PULL_REQUEST_NUMBER = os.getenv("PULL_REQUEST_NUMBER")
3231

3332
IS_INTERACTIVE = os.environ.get("INTERACTIVE", "1").lower() in ["true", "1"]

0 commit comments

Comments
 (0)