-
Notifications
You must be signed in to change notification settings - Fork 555
32 lines (30 loc) · 930 Bytes
/
owlbot.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 }}
GOOGLEAPIS_GEN_GITHUB_TOKEN: ${{ secrets.YOSHI_APPROVER_PRIVATE_TOKEN }}
steps:
- name: Checkout repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install Ruby 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
- name: Install tools
run: |
gem install --no-document toys
- name: OwlBot
run: |
toys owlbot -v --pull --fork ${{ github.event.inputs.flags }} ${{ github.event.inputs.gems }}