-
Notifications
You must be signed in to change notification settings - Fork 89
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
PAC requests /ok-to-test even if PLR shouldn't run #1774
Comments
From
first runs verifyRepoAndUser that calls checkAccessOrErrror pipelines-as-code/pkg/pipelineascode/match.go Line 138 in a10162c
Later getPipelineRunsFromRepo runs that calls MatchPipelineRunByAnnotation , responsible for CEL expressions
|
From a quick look, this might be relevant. pipelines-as-code/pkg/pipelineascode/match.go Lines 229 to 239 in a10162c
Could this be the reason why adding |
For PLR with configured CEL expression that shouldn't run for given PR, PAC is requesting approval from maintainers.
Steps to reproduce:
With a user that has permissions, PAC don't report anything.
It seems that RBAC is evaluated before CEL, and asks for permissions even if they aren't needed.
The text was updated successfully, but these errors were encountered: