You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What Operating System are you using (both controller, and any agents involved in the problem)?
Amazon Linux 2
Reproduction steps
I'm using GitHub app for authentication and have set the permissions required to use IssueCommentTrigger in my pipelines. I'm the org owner on GitHub having admin permissions. Before releasing my pipeline I tested it with myself and a couple of users who were collaborators with write permission and it worked well. All users are part of different GitHub teams. After the release of my pipeline many users in my org now use the pipeline without problems. However, some users reported that they are not able to trigger the build using a pull request comment. These users are actually authors of their pull request having write permission on repository. I also checked and confirmed by the response of the API call to check collaborator status: https://docs.github.com/en/rest/collaborators/collaborators?apiVersion=2022-11-28#check-if-a-user-is-a-repository-collaboratory
I'm not able to debug why this is happening only for a handful users who are actually collaborators. It would be really helpful if you have any suggestions on investigating this further.
Expected Results
IssueCommentTrigger works for all collaborators.
Actual Results
Few users reported that IssueCommentTrigger is not working even after having collaborators access.
Anything else?
No response
Are you interested in contributing a fix?
No response
The text was updated successfully, but these errors were encountered:
hey!
So one thing you can try is add a bit of logging on the plugin, open a PR and i believe the building process generates a plugin binary (see here as an example)
If you tested the curl request directly and it's failing. I'd think the issue is with the github config and that you open a support ticket with them to understand what's going on
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Amazon Linux 2
Reproduction steps
I'm using GitHub app for authentication and have set the permissions required to use IssueCommentTrigger in my pipelines. I'm the org owner on GitHub having admin permissions. Before releasing my pipeline I tested it with myself and a couple of users who were collaborators with write permission and it worked well. All users are part of different GitHub teams. After the release of my pipeline many users in my org now use the pipeline without problems. However, some users reported that they are not able to trigger the build using a pull request comment. These users are actually authors of their pull request having write permission on repository. I also checked and confirmed by the response of the API call to check collaborator status: https://docs.github.com/en/rest/collaborators/collaborators?apiVersion=2022-11-28#check-if-a-user-is-a-repository-collaboratory
I'm not able to debug why this is happening only for a handful users who are actually collaborators. It would be really helpful if you have any suggestions on investigating this further.
Expected Results
IssueCommentTrigger works for all collaborators.
Actual Results
Few users reported that IssueCommentTrigger is not working even after having collaborators access.
Anything else?
No response
Are you interested in contributing a fix?
No response
The text was updated successfully, but these errors were encountered: