Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A way to determine a workflow per branch, inside the branch, is useful for developing workflows. But it's perilous in other circumstances.

I wish I could, at the repo level, disable the use of actions from ./.github, and instead name another repo as the source of actions.

This could be achieved by defining a pre-merge-commit hook, and reject commits that alter protected parts of the tree. This would also require extra checks on the action runnes side.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: