forked from googleapis/google-cloud-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (28 loc) · 857 Bytes
/
owlbot-migrate.yml
File metadata and controls
30 lines (28 loc) · 857 Bytes
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
name: OwlBot Migration
on:
workflow_dispatch:
inputs:
gems:
description: "List of gems, or --all for all gems"
required: true
jobs:
OwlBot-Migrate:
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@v2
- name: Install Ruby 3.0
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.0"
- name: Install tools
run: |
git config --global user.email "70984784+yoshi-code-bot@users.noreply.github.com"
git config --global user.name "Yoshi Code Bot"
gem install --no-document toys
- name: OwlBot Migrate
run: |
toys owlbot-migrate -v --pull --remote=origin ${{ github.event.inputs.gems }}