'GitHub Actions: Copy a file from a repo to my own

I want to copy one particular file from another GitHub repo to my own GitHub repo (both are public repos). How do I do this?



Solution 1:[1]

For example you could use the curl Action to download the file and then push the file to the repository like described in this thread.

Another option is described in this thread.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1