mirror of
https://github.com/google/adk-docs.git
synced 2026-09-14 16:16:59 +08:00
dc173ce3ab
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com> Co-authored-by: Kristopher Overholt <koverholt@google.com>
38 lines
1022 B
YAML
38 lines
1022 B
YAML
name: Publish Feature Matrix
|
|
on:
|
|
workflow_dispatch:
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
steps:
|
|
- name: Checkout adk-docs repo
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v6
|
|
with:
|
|
go-version: '1.22'
|
|
|
|
- name: Install dependencies
|
|
run: go mod tidy
|
|
working-directory: ./tools/feature-matrix
|
|
|
|
- name: Run program
|
|
run: go run main.go
|
|
working-directory: ./tools/feature-matrix
|
|
env:
|
|
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v8
|
|
with:
|
|
token: ${{ secrets.ADK_BOT_GITHUB_TOKEN }}
|
|
commit-message: "feat: propose update to feature matrix"
|
|
title: "Proposed Update to Feature Matrix"
|
|
body: "This is an auto-generated PR with new content for the feature matrix."
|
|
branch: "new-feature-matrix-proposal"
|
|
delete-branch: true
|