Skip to content

Commit 350be59

Browse files
authored
chore: More fixes to obsolete-library script (googleapis#22385)
1 parent 1cfe616 commit 350be59

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/obsolete-library.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
required: false
1212

1313
jobs:
14-
OwlBot:
14+
ObsoleteLibrary:
1515
if: ${{ github.repository == 'googleapis/google-cloud-ruby' }}
1616
runs-on: ubuntu-latest
1717
env:

.toys/obsolete-library.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
include "yoshi-pr-generator"
2828

2929
def run
30-
cd context_directory
30+
setup
3131
branch_name = "pr/delete/#{gem_name}"
3232
message = "chore: obsolete #{gem_name}"
3333
result = yoshi_pr_generator.capture enabled: !git_remote.nil?,
@@ -39,6 +39,12 @@ def run
3939
remove_owlbot_config
4040
remove_directory
4141
end
42+
puts "result: #{result}"
43+
end
44+
45+
def setup
46+
cd context_directory
47+
yoshi_utils.git_ensure_identity
4248
end
4349

4450
def remove_release_manifest

0 commit comments

Comments
 (0)