-
Notifications
You must be signed in to change notification settings - Fork 114
Closed
Description
For PLR with configured CEL expression that shouldn't run for given PR, PAC is requesting approval from maintainers.
Steps to reproduce:
- Have a user without permissions to run PLRs (PR must be approved by /ok-to-test)
- Have a PLR definition with CEL expressions, that should skip opened PR
- User opens PR with changes that doesn't match CEL expressions
- PAC reports that PR has to /ok-to-test labeled
- Owner adds /ok-to-test
- Nothing happens; PAC still shows the same - queued, we cannot get rid of that test status from github
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.
Metadata
Metadata
Assignees
Labels
No labels