I have created an action that I want to use in multiple repositories.
The action cannot be made public.
I know that at the moment it’s not possible to run an action from a private/internal repository (but that it’s in the roadmap).
I want to avoid having to put the action’s code in all my repositories and was wondering if there is a way to copy the action’s code into the executing repository while executing the workflow and then run it, but to not commit any changes to the repository
So my workflow will have something like these steps:
Workflow on R1:
checkout (R1 codes)
checkout R2 (the action repository)
copy R2 action files to R1 folder (all local in runner, nothing committed)
run action A1 from local repository
Is it possible?