A repository stores a React application in app/ and internal documentation in docs/. CI should run for pull requests targeting main only when an app/ file changes. Which configuration meets both conditions?

Published
  1. Use pull_request with branches: ["app/**"] and paths: [main].
  2. Use push with branches: [main] and ignore the pull_request event.
  3. Use pull_request with paths-ignore: ["app/**"].
  4. Use pull_request with branches: [main] and paths: ["app/**"].

Comments — 0