Allow for secure env if PR is created by a member with push access

At the moment we allow secure env only in PRs created based on a branch from the same repository. This PR changes it to also allow secure env if a PR is created by a person with push permission to the target repo.