gradle / gradle-build-action

Execute your Gradle build and trigger dependency submission
https://github.com/marketplace/actions/gradle-build-action
MIT License
671 stars 97 forks source link

get octokit from the GitHub context to ensure compatibility with GitHub Enterprise #893

Closed nise-nabe closed 1 year ago

nise-nabe commented 1 year ago

Octokit object is only to use github.com as default. To use on GitHub Enterprise, get Octokit object from github context.

NOTE) Maitainer, if you can use this code, feel free to close and re-create to generate trusted js code.

bigdaz commented 1 year ago

Thanks, this really helped.