You've already forked adk-python
mirror of
https://github.com/encounter/adk-python.git
synced 2026-03-30 10:57:20 -07:00
fix: use pull_request_target event as the trigger of PR triaging agent
GitHub workflows triggered by `pull_request` events from forked repositories do not have access to secrets by default due to security considerations. PiperOrigin-RevId: 789011890
This commit is contained in:
committed by
Copybara-Service
parent
7c9b0a2567
commit
3be1bb37d9
@@ -1,7 +1,7 @@
|
||||
name: ADK Pull Request Triaging Agent
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
types: [opened, reopened, edited]
|
||||
|
||||
jobs:
|
||||
@@ -33,6 +33,6 @@ jobs:
|
||||
OWNER: 'google'
|
||||
REPO: 'adk-python'
|
||||
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
|
||||
INTERACTIVE: ${{ secrets.PR_TRIAGE_INTERACTIVE }}
|
||||
INTERACTIVE: ${{ vars.PR_TRIAGE_INTERACTIVE }}
|
||||
PYTHONPATH: contributing/samples
|
||||
run: python -m adk_pr_triaging_agent.main
|
||||
|
||||
Reference in New Issue
Block a user