Skip to content

.github/workflows/update-api-list.yaml #1310

.github/workflows/update-api-list.yaml

.github/workflows/update-api-list.yaml #1310

on:
schedule:
- cron: "0 1 * * *"
workflow_dispatch:
jobs:
update-api-list:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14
- run: npm install
- run: npm run generate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: googleapis/code-suggester@v4
env:
ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }}
with:
command: pr
force: true
upstream_owner: googleapis
upstream_repo: google-cloud-node
description: 'Update the list of available APIs in the README.'
title: 'docs: update the list of available APIs'
message: 'docs: update the list of available APIs'
branch: update-api-list
git_dir: '.'