Feature Matrix Creator #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Feature Matrix Creator | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout adk-docs repo | |
uses: actions/checkout@v4 | |
- name: Checkout adk-docs-features repo | |
uses: actions/checkout@v4 | |
with: | |
repository: 'tpryan/adk-docs-features' | |
path: 'adk-docs-features' | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: Install dependencies | |
run: go mod tidy | |
working-directory: ./adk-docs-features | |
- name: Run program | |
run: go run main.go | |
working-directory: ./adk-docs-features | |
env: | |
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }} | |
- name: Prepare PR content | |
run: | | |
mkdir -p docs/features | |
mv adk-docs-features/docs/features/index.md docs/features/index.md | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
commit-message: "feat: propose new documentation" | |
title: "Proposed Documentation Update" | |
body: "This is an auto-generated PR with new documentation." | |
branch: "new-documentation-proposal" | |
delete-branch: true |