Earlier quoted context omitted.
This is not a discussion about what's possible, it's a discussion about what's best. You can write your own opinion here, and it seems like we're in violent agreement, but that doesn't make our opinion GitHub's opinion. That page is just one small part of a much larger reference document, and it doesn't seem opinionated at all to me. Plus there are dozens of other examples elsewhere in the same reference that are not…
And they show those patterns first. You had to take an example that is clearly about script permissions and misrepresent it. Yeah, it's not opinionated, it's fact. That's how it works...
The Pain That Is GitHub Actions
561–570 of 584 posts
Re: The Pain That Is GitHub Actions
#562Re: The Pain That Is GitHub Actions
#563Re: The Pain That Is GitHub Actions
#564Earlier quoted context omitted.
> pipelines can run locally on a developer machine as well (as much as possible at least) Facts. However I’ll go a step further and say “only implement your logic in a tool that has a debugger”. YAML is the worse. But shell scripts are second worst. Use a real language.
Shell is a very real language, and it has a debugger; it’s called set -x and/or strace.
Re: The Pain That Is GitHub Actions
#565Re: The Pain That Is GitHub Actions
#566If you want an easy solution for GitHub Actions security, check out Garnet.ai (formerly listen.dev). They were built for GitHub first. And it’s free for single projects - https://dashboard.listen.dev/ .
Re: The Pain That Is GitHub Actions
#567Earlier quoted context omitted.
Well but that’s the problem. You cannot fully automate this. You have to manually check the diff of each dependency and only accept the dependabot PR if the changes are safe. The only automation that I know of is cargo vet. Although it doesn’t work for GitHub Actions, the idea sounds useful. Basically, vet allows people who trust each other to vet updates. So one person verifies the diff and then approves the changes…
dependabot now has beta support for delayed upgrades.
Re: The Pain That Is GitHub Actions
#568If you want an easy solution for GitHub Actions security, check out Garnet.ai (formerly listen.dev). They were built for GitHub first. And it’s free for single projects - https://dashboard.listen.dev/ .
Does it allow to integrate directly into the action runner?
Re: The Pain That Is GitHub Actions
#569Earlier quoted context omitted.
Does it allow to integrate directly into the action runner?
Yes, its a one step integration into your workflow file, typically before the steps you want to monitor eg. build, test if you don't want to see everything happening in your runner host. It has worked pretty well with ubuntu-latest and stock Linux runners from GH out of the box.
Re: The Pain That Is GitHub Actions
#570Earlier quoted context omitted.
This is not a discussion about what's possible, it's a discussion about what's best. You can write your own opinion here, and it seems like we're in violent agreement, but that doesn't make our opinion GitHub's opinion. That page is just one small part of a much larger reference document, and it doesn't seem opinionated at all to me. Plus there are dozens of other examples elsewhere in the same reference that are not…
And they show those patterns first. You had to take an example that is clearly about script permissions and misrepresent it. Yeah, it's not opinionated, it's fact. That's how it works...