chore: update script to make it compatible with v5 (#17271)
chore: update script to make it compatible with v5 (#17271)

- Reference https://github.com/actions/github-script/compare/v4.1.1...v5.0.0
googleapis/google-cloud-ruby,dazuma/google-cloud-ruby,googleapis/google-cloud-ruby,dazuma/google-cloud-ruby,dazuma/google-cloud-ruby,googleapis/google-cloud-ruby,dazuma/google-cloud-ruby,googleapis/google-cloud-ruby,googleapis/google-cloud-ruby,dazuma/google-cloud-ruby,googleapis/google-cloud-ruby,dazuma/google-cloud-ruby