How E2E testing works for external pull requests
mainThe 1Password Operator uses two distinct workflows for testing pull requests (PRs) to ensure security and prevent unauthorized resource consumption from external forks:
- Internal PRs (Maintainer-created): The
E2E Tests(test-e2e.yml) workflow starts automatically upon PR creation. The PR check status reflects the job's progress. - External PRs (Contributor-created): The
E2E Testsworkflow does not start automatically. To run these tests, a maintainer must manually trigger them using theok-to-testcommand.
Running E2E tests on external PRs is optional; maintainers may choose to merge a PR without running the tests if they deem it unnecessary.