.github/workflows/update-api-list.yaml #1263
This file contains 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
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: '.' |