Interview practice question
CI pipeline exposed to malicious pull requests
Cloud & DevOps · Git and Version Control · Experienced
Your public repository's CI runs on pull requests from forks, and you worry attackers could steal secrets. How do you secure it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Don't expose secrets to fork PR workflows.
- Avoid pull_request_target running untrusted code.
- Require approval for first-time contributors.
- Least-privilege tokens.
- Isolated/ephemeral runners.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.