News for hackers. Stuff that matters.
Re:GitHub Actions could be so much better by somehnguy on Friday September 22, 2023 @02:48PM (#37616043)
Act works pretty well to debug actions locally. It isn't perfect, but I find it handles about 90% of the write-test-repeat loop and therefore saves my teammates from dozens of tiny test PRs.
Re:GitHub Actions could be so much better by EddTheSDET on Saturday September 23, 2023 @01:13AM (#37620730)
> saves my teammates from dozens of tiny test PRs

May have misread this but you know you can push to one branch and then run the action against it? Would reduce PRs if you're doing that to then check the action in master. You have to add a workflow_dispatch to the action: https://docs.github.com/en/actions/using-workflows/manually-...

Re:GitHub Actions could be so much better by mook on Saturday September 23, 2023 @02:30AM (#37621038)
And if you're working on workflows that need to be in PRs, you can make a PR from your fork _to_ your fork.
Re:GitHub Actions could be so much better by somehnguy on Saturday September 23, 2023 @12:33PM (#37624781)
Yeah most of the time that is a good way to test. There are some specific actions that aren't easily tested outside of the regular spot though. Mostly deployment related pieces due to the way our infrastructure is setup.