mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
chore: Don't label 'bot triaged' for PR
PiperOrigin-RevId: 816959715
This commit is contained in:
committed by
Copybara-Service
parent
24342e95f8
commit
cac9fae829
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user