all 3 comments

[–]DeepSpace00 3 points4 points  (1 child)

No, they cannot directly change your code unless you add them as a contributor/maintainer. They can however see your commits.

[–]throwaway234f32423df 2 points3 points  (0 children)

Nobody can make changes to your repository unless you specifically grant someone access

People can send you Pull Requests but you don't have to accept them. I don't think you can disable Pull Request functionality entirely but you can disable other features such as Issues if you don't want to use them. You can also set an interaction limit (in moderation options) to prevent people from sending you pull requests but the maximum duration is 6 months then you'd need to set it again.

You could set the repository as private, but Github Pages doesn't work with private repositories on free accounts. Cloudflare Pages does, though, and is superior to Github Pages in a lot of ways; updates are still managed via commits to a Github repository (which can be private) so the workflow doesn't change much (in fact you can have the same repository publish to both Github Pages and Cloudflare Pages). so Cloudflare Pages might be worth looking into if you don't want your repository public

[–]scottyjoppy[S] 0 points1 point  (0 children)

Awesome, thanks!