Docker and CI/CD · Middle · Question 47 of 75

Why are self-hosted runners risky for public repositories?

Explanation

A malicious PR can leave persistent malware on a non-ephemeral runner. Use GitHub-hosted runners for public repos or isolate self-hosted ones per job.

Further reading

Problem with a question

Docker and CI/CD · Middle · question 47

Test yourself

Take the Docker and CI/CD · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz