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
[lighthouse-webhooks-c57dc69b9-q5w77] {"Branch":"master","Clone":"https://bitbucket.int/scm/test/testrepo.git","ID":"285","Link":"https://bitbucket.int/projects/test/repos/testrepo/browse","Name":"testrepo","Namespace":"TEST","Webhook":"pull_request","author":"myname","error":
"could not check membership: error in IsCollaborator: Not Authorized","level":"error","msg":"Error handling PullRequestEvent.","org":"TEST","pr":31,"repo":"testrepo","time":"2021-12-03T13:09:19Z","url":"https://bitbucket.int/projects/test/repos/testrepo/pull-requests/31"}
(Note: I set GIT_CLONE_PATH_PREFIX=scm/ for the webhooks container. Otherwise it would have tried to clone from https://bitbucket.int/test/testrepo:
I believe due to the following one can never trigger jobs: jenkins-x/go-scm#310
IsCollaborator
will always fail.(Note: I set
GIT_CLONE_PATH_PREFIX=scm/
for thewebhooks
container. Otherwise it would have tried to clone fromhttps://bitbucket.int/test/testrepo
:lighthouse/pkg/git/v2/remote.go
Line 128 in f68e049
plugins.yaml:
config.yaml:
Unfortunately, it does not seem to be possible to configure
trigger
to only use theOWNERS
file for info who may trigger jobs.For
trigger
it always seems the first check:https://github.com/jenkins-x/lighthouse/blob/main/pkg/plugins/trigger/pull-request.go#L45
(same for '/test ' comment in
generate-comment.go
)The text was updated successfully, but these errors were encountered: