Skip to content

Commit 8aa885c

Browse files
committed
test_gem_command_manager.rb: Fix the environment variable
The previous one failed: https://github.com/ruby/ruby/actions/runs/17504307509/job/49724437021 $GITHUB_ACTION_REPOSITORY points to the owner of the action, so it might not be ruby/ruby.
1 parent 11275d1 commit 8aa885c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/rubygems/test_gem_command_manager.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_find_command_unknown
7272
end
7373

7474
def test_find_command_unknown_suggestions
75-
omit "randomly fails on ruby/ruby CI" if ENV["GITHUB_ACTION_REPOSITORY"] == "ruby/ruby"
75+
omit "randomly fails on ruby/ruby CI" if ENV["GITHUB_REPOSITORY"] == "ruby/ruby"
7676
e = assert_raise Gem::UnknownCommandError do
7777
@command_manager.find_command "pish"
7878
end

0 commit comments

Comments
 (0)