Skip to content

Commit eaa2e51

Browse files
Update triage workflow
Updated triaged workflow to run on google-adk python git repo, to automate issue assignment to gtech team.
1 parent e12ee41 commit eaa2e51

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/triage.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
agent-triage-issues:
12-
runs-on: [self-hosted, Linux, X64]
12+
runs-on: ubuntu-latest
1313
# Run for:
1414
# - Scheduled runs (batch processing)
1515
# - New issues (need component labeling)
@@ -39,16 +39,16 @@ jobs:
3939
4040
- name: Run Triaging Script
4141
env:
42-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
GITHUB_TOKEN: ${{ secrets.ADK_TRIAGE_AGENT }}
4343
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
4444
GOOGLE_GENAI_USE_VERTEXAI: 0
45-
OWNER: ${{ secrets.REPOSITORY_OWNER }}
46-
REPO: ${{ secrets.REPO_NAME }}
45+
OWNER: ${{ github.repository_owner }}
46+
REPO: ${{ github.event.repository.name }}
4747
INTERACTIVE: 0
4848
EVENT_NAME: ${{ github.event_name }} # 'issues', 'schedule', etc.
4949
ISSUE_NUMBER: ${{ github.event.issue.number }}
5050
ISSUE_TITLE: ${{ github.event.issue.title }}
5151
ISSUE_BODY: ${{ github.event.issue.body }}
5252
ISSUE_COUNT_TO_PROCESS: '3' # Process 3 issues at a time on schedule
5353
PYTHONPATH: contributing/samples
54-
run: gtech-run contributing/samples/adk_triaging_agent/main.py
54+
run: python -m adk_triaging_agent.main

0 commit comments

Comments
 (0)