Files
google__adk-docs/.github/workflows/feature-matrix-updater.yaml
Kristopher Overholt e15aa4b918 Secure CI workflows with zizmor ahead of enforced rollout (#1872)
* ci: pin actions to SHAs and harden workflows with zizmor auto-fixes

* ci: set least-privilege GITHUB_TOKEN permissions on workflows

* ci: move PR/issue context into env vars to prevent template injection
2026-06-26 12:31:45 -05:00

40 lines
1.2 KiB
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@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
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@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
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