OwlBot Manual Run #92
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
name: OwlBot Manual Run | |
on: | |
workflow_dispatch: | |
inputs: | |
gems: | |
description: "List of gems, or --all for all gems" | |
required: true | |
flags: | |
description: "Extra flags to pass to toys owlbot" | |
required: false | |
jobs: | |
OwlBot: | |
if: ${{ github.repository == 'googleapis/google-cloud-ruby' }} | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install Ruby 3.3 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.3" | |
- name: Install Bazel | |
uses: bazel-contrib/[email protected] | |
- name: Install tools | |
run: | | |
gem install --no-document toys | |
- name: OwlBot | |
run: | | |
toys owlbot -v --pull --fork --pull-googleapis --bazelisk ${{ github.event.inputs.flags }} ${{ github.event.inputs.gems }} |