chore: Don't label 'bot triaged' for PR

PiperOrigin-RevId: 816959715
This commit is contained in:
Xiang (Sean) Zhou
2025-10-08 19:21:35 -07:00
committed by Copybara-Service
parent 24342e95f8
commit cac9fae829
2 changed files with 1 additions and 3 deletions
@@ -15,7 +15,6 @@
from pathlib import Path
from typing import Any
from adk_pr_triaging_agent.settings import BOT_LABEL
from adk_pr_triaging_agent.settings import GITHUB_BASE_URL
from adk_pr_triaging_agent.settings import IS_INTERACTIVE
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]:
label_url = (
f"{GITHUB_BASE_URL}/repos/{OWNER}/{REPO}/issues/{pr_number}/labels"
)
label_payload = [label, BOT_LABEL]
label_payload = [label]
try:
response = post_request(label_url, label_payload)
@@ -27,7 +27,6 @@ if not GITHUB_TOKEN:
OWNER = os.getenv("OWNER", "google")
REPO = os.getenv("REPO", "adk-python")
BOT_LABEL = os.getenv("BOT_LABEL", "bot triaged")
PULL_REQUEST_NUMBER = os.getenv("PULL_REQUEST_NUMBER")
IS_INTERACTIVE = os.environ.get("INTERACTIVE", "1").lower() in ["true", "1"]