Does dockerized github actions support network options for docker run parameters

I am using self hosted github runners for vpn access to some software and I am trying to use a dockerized github action on the self hosted runners but I am having issues because I need to specify the –network host flag when github action runs docker run. Is there a way to have the github action use the network of the host?

Source: Docker Questions