Skip to content

Commit 764b8a9

Browse files
authored
Feature matrix (#812)
* feat: Add workflow to run Go program and create PR Introduces a GitHub Actions workflow that checks out two repositories, sets up Go, installs dependencies, runs a Go program, and creates a pull request with generated documentation updates. * fix: Update workflow name and trigger Renamed the workflow to 'Feature Matrix Creator' and changed the trigger from push on main to manual workflow_dispatch. * feat: Add feature-matrix tool for ADK feature extraction Introduces a new tool under tools/feature-matrix to generate a feature support matrix for ADK runtimes by analyzing documentation. Includes Go implementation (main.go), prompt and starter markdown files, and Go module dependencies. * feat: Update feature matrix workflow to use local tool Removes checkout of the adk-docs-features repo and updates steps to use the local tools/feature-matrix directory for dependency installation and program execution. Simplifies the workflow by eliminating unnecessary repository cloning and file movement. * fix: Update feature matrix prompt and matrix content Revised the prompt to use 'Unsupported' instead of 'Planned' for features not supported, clarified disclaimer placement, and updated instructions for matrix ordering. Updated start.md to move the disclaimer and feature matrix to the top, reflect new terminology, and provide a more accurate and current feature support matrix. * fix: Update workflow for feature matrix PRs Adds write permissions for contents and pull-requests to the workflow. Updates pull request commit message, title, body, and branch name to reflect feature matrix updates instead of documentation.
1 parent 1df6ff6 commit 764b8a9

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/feature-matrix-updater.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
jobs:
55
build:
66
runs-on: ubuntu-latest
7+
permissions:
8+
contents: write
9+
pull-requests: write
710
steps:
811
- name: Checkout adk-docs repo
912
uses: actions/checkout@v4
@@ -27,8 +30,8 @@ jobs:
2730
uses: peter-evans/create-pull-request@v6
2831
with:
2932
token: ${{ secrets.GITHUB_TOKEN }}
30-
commit-message: "feat: propose new documentation"
31-
title: "Proposed Documentation Update"
32-
body: "This is an auto-generated PR with new documentation."
33-
branch: "new-documentation-proposal"
33+
commit-message: "feat: propose update to feature matrix"
34+
title: "Proposed Update to Feature Matrix"
35+
body: "This is an auto-generated PR with new content for the feature matrix."
36+
branch: "new-feature-matrix-proposal"
3437
delete-branch: true

0 commit comments

Comments
 (0)