News for hackers. Stuff that matters.
Re:GitHub Actions could be so much better by andix on Friday September 22, 2023 @12:42PM (#37614268)
If I'm fixing CI I always put it on a feature branch and do a squash merge once I'm done. Because it's never just one quick fix, it's always 3-10 commits.
Re:GitHub Actions could be so much better by kitallis on Friday September 22, 2023 @02:06PM (#37615457)
> If I'm fixing CI I always put it on a feature branch and do a squash merge once I'm done. Because it's never just one quick fix, it's always 3-10 commits.

The problem is GA also does not allow you to commit a new workflow in a branch. It must first exist on your primary branch and then you may tweak it in another.

Re:GitHub Actions could be so much better by devoutsalsa on Saturday September 23, 2023 @07:01AM (#37622119)
If I have to commit several trash commits, I’m happy to squash locally and then do

    git push —force-with-lease origin main
Re:GitHub Actions could be so much better by andix on Saturday September 23, 2023 @12:32PM (#37624777)
Not cool if you work in a bigger team. Especially if there are some people that are not super experienced with git, and have no idea how to fix that locally.

But if you're working alone or in a smaller team, that's perfectly fine.