If you meant to ask how to run the GitHub actions code without GitHub then the sibling comment would help for most tasks but has limitations.
https://github.com/mutablelogic/docker-action-runner
Running the actions in a docker container is not ideal by any means. The authors of Github Actions do not have a stable API between the actions runner and whatever triggers them on their server side; you need to keep the docker container up-to-date every few months, it's not a "fire and forget" thing.
https://github.com/nektos/act