Make a better workaround for not getting org token on custom events #279
Labels
changelog:fixed
Add this issue or pull request to fixed changelog section
enhancement
New feature or request
Currently it's grabbing the token from GITHUB_TOKEN as a workaround for automation-api#392, but that doesn't work for other configuration mechanisms.
Get it from the configuration; ask @ddgenome how to do this.
Check its scopes and output a nice error if it doesn't have repo scope. It'll need it for creating GH statuses.
The text was updated successfully, but these errors were encountered: