-
Notifications
You must be signed in to change notification settings - Fork 75
IssueCommentTrigger is not working for few users having collaborator access #131
Description
Jenkins and plugins versions report
Environment
Plugin Version: 2.8-159.09e4403bc62f
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