**Description** On this PR https://github.com/kyma-project/kyma/pull/6270 functionality that was added for checking perms is probably not working properly with GitHub teams. **AC:** - checking `write` perms works properly both for GitHub users and teams