Pasting text into the editor works for me. Pasting a file, doesn’t make sense though. if you want to copy a file into Scriptable’s source folder in iCloud, that can be done via the Files app. It would then be accessible to the app.
There are a couple of Git gist related scripts available via this forum: