How to fetch a private dependency on GitHub Actions?

Add a private SSH key to the action that has read only access to the private repository.