Merge pull request #19876 from Homebrew/gha-frozen-string-fix

utils/github/actions: fix frozen string handling
This commit is contained in:
Bo Anderson 2025-05-02 01:17:02 +00:00 committed by GitHub
commit 1d025f9f8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,7 +98,7 @@ module GitHub
sig { returns(String) }
def to_s
metadata = @type.to_s
metadata = @type.to_s.dup
if @file
metadata << " file=#{Actions.escape(@file.to_s)}"