mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
chore: Don't label issue as bot triaged
PiperOrigin-RevId: 816873967
This commit is contained in:
committed by
Copybara-Service
parent
32f2ec3a78
commit
2efaa57575
@@ -14,7 +14,6 @@
|
||||
|
||||
from typing import Any
|
||||
|
||||
from adk_triaging_agent.settings import BOT_LABEL
|
||||
from adk_triaging_agent.settings import GITHUB_BASE_URL
|
||||
from adk_triaging_agent.settings import IS_INTERACTIVE
|
||||
from adk_triaging_agent.settings import OWNER
|
||||
@@ -103,7 +102,7 @@ def add_label_and_owner_to_issue(
|
||||
label_url = (
|
||||
f"{GITHUB_BASE_URL}/repos/{OWNER}/{REPO}/issues/{issue_number}/labels"
|
||||
)
|
||||
label_payload = [label, BOT_LABEL]
|
||||
label_payload = [label]
|
||||
|
||||
try:
|
||||
response = post_request(label_url, label_payload)
|
||||
|
||||
@@ -26,7 +26,6 @@ if not GITHUB_TOKEN:
|
||||
|
||||
OWNER = os.getenv("OWNER", "google")
|
||||
REPO = os.getenv("REPO", "adk-python")
|
||||
BOT_LABEL = os.getenv("BOT_LABEL", "bot triaged")
|
||||
EVENT_NAME = os.getenv("EVENT_NAME")
|
||||
ISSUE_NUMBER = os.getenv("ISSUE_NUMBER")
|
||||
ISSUE_TITLE = os.getenv("ISSUE_TITLE")
|
||||
|
||||
Reference in New Issue
Block a user