Same user for Actions and commands

I currently have the problem that I want to use Actions and commands in the same job in different steps. Docker Actions run as root and commands as runner on the vm. This cause the problem that commands can’t access files of a Docker Action without using sudo.

As a developer i don’t want to care about different file owners in workflows and actions. There should be one default user for Docker Actions, JavaScript Actions, native commands and commands in docker containers. So files can be shared between them without changing the file owner.