forked from google/adk-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 1022 Bytes
/
Copy pathfeature-matrix-updater.yaml
File metadata and controls
37 lines (33 loc) · 1022 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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@v4
- name: Set up Go
uses: actions/setup-go@v5
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@v6
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