You've already forked adk-python
mirror of
https://github.com/encounter/adk-python.git
synced 2026-03-30 10:57:20 -07:00
chore: set up Github workflow for ADK release analyzer for doc updates
PiperOrigin-RevId: 805434018
This commit is contained in:
committed by
Copybara-Service
parent
7148e0e82e
commit
957dc628ab
@@ -0,0 +1,41 @@
|
||||
name: Analyze New Release for ADK Docs Updates
|
||||
|
||||
on:
|
||||
# Runs on every new release.
|
||||
release:
|
||||
types: [published]
|
||||
# Manual trigger for testing and retrying.
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
analyze-new-release-for-adk-docs-updates:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install requests google-adk
|
||||
|
||||
- name: Run Analyzing Script
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.ADK_TRIAGE_AGENT }}
|
||||
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
|
||||
GOOGLE_GENAI_USE_VERTEXAI: 0
|
||||
DOC_OWNER: 'google'
|
||||
CODE_OWNER: 'google'
|
||||
DOC_REPO: 'adk-docs'
|
||||
CODE_REPO: 'adk-python'
|
||||
INTERACTIVE: 0
|
||||
PYTHONPATH: contributing/samples/adk_documentation
|
||||
run: python -m adk_release_analyzer.main
|
||||
Reference in New Issue
Block a user