Also double quote GITHUB_WORKSPACE because that could indeed by anything.
Create a github action that accepts any command with args and runs it in a container that is prepared with all the dependencies for koji (hub, builder, command line), so all tests, like pylint or unit tests can run in it.