Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[packagers] No error showing when insufficient privileges in github token for Chocolatey release #1383

Open
4 tasks
wimdeblauwe opened this issue May 10, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@wimdeblauwe
Copy link

Task List

  • Steps to reproduce provided
  • Stacktrace (if present) provided
  • Example that reproduces the problem (link to git repository is ideal)
  • Full description of the issue provided (see below)

Steps to Reproduce

  1. Configure JReleaser to deploy to Chocolatey, but wrongly use a GitHub token that has no "workflow" privilege
  2. Run a release

Expected Behaviour

The trace.log file shows a proper error indicating the lack of privileges.

Actual Behaviour

There is no error in the trace.log. The only thing that happened in my case is the creation of an empty chocolatey-bucket Git repository.

Environment Information

  • Operating System: Ubuntu
  • JReleaser Version: 1.5.1
  • JDK Version: 17
@wimdeblauwe wimdeblauwe added the bug Something isn't working label May 10, 2023
@wimdeblauwe
Copy link
Author

This is related to #1382

@aalmiray aalmiray changed the title No error showing when insufficient privileges in github token for Chocolatey release [packagers] No error showing when insufficient privileges in github token for Chocolatey release May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant