Re:Using my new Raspberry Pi to run an existing GitHub Action
by leonheld on Tuesday March 12, 2024 @07:49AM
(#39678421)
Do you do this for public repos? GitHub Actions is strongly not recommended for non-private. Struggling to have good security policies in place for a deployment I'm doing...
[ Parent
| on HN ]
Re:Using my new Raspberry Pi to run an existing GitHub Action
by akerl_ on Tuesday March 12, 2024 @08:15AM
(#39678574)
Where are you seeing that GitHub actions isn’t recommended for public repos?
Re:Using my new Raspberry Pi to run an existing GitHub Action
by theodorton on Tuesday March 12, 2024 @10:16AM
(#39679800)
I believe they're referring to this section:
https://docs.github.com/en/actions/hosting-your-own-runners/...
Re:Using my new Raspberry Pi to run an existing GitHub Action
by bmitc on Tuesday March 12, 2024 @08:13AM
(#39678565)
> GitHub Actions is strongly not recommended for non-private.
By who? Why?
Re:Using my new Raspberry Pi to run an existing GitHub Action
by Belphemur on Tuesday March 12, 2024 @08:32AM
(#39678712)
Sounds like outdated advice from the time before they implemented approval for running action from PR of untrusted people.
In the past, people could modify the GitHub action workflow and run crypto miners on the agents.
But since GitHub changed the default for PR where the actions aren't run anymore that killed that attack vector.
Re:Using my new Raspberry Pi to run an existing GitHub Action
by everfrustrated on Tuesday March 12, 2024 @08:54AM
(#39678892)
Because the self-hosted runners save state between runs, as well as publicly-opened PRs/branches giving the public access to your runner environment variables/secrets.
Re:Using my new Raspberry Pi to run an existing GitHub Action
by justinclift on Tuesday March 12, 2024 @11:56AM
(#39681046)
Thanks, I'd not seen that recommendation.
Looks like I'd better do some research too. :)