Trigger Github actions from Subversion

Is it possible to trigger github actions when developer commits in subversion. Or is it mandatory that github should be the code repo?

GitHub Actions workflows usually get triggered on events to the Git repository hosted on GitHub.com they are in. You can also start workflow runs manually however, see: Events that trigger workflows - GitHub Docs

How you react to the commit event in another software or service is up to you, however.