Open damiththa opened 2 years ago
That change for destination would copy a file from inside the repo to another location in the same repo, via a commit. I'm not sure I'm following what you're asking here.
Thank you for the reply and yes, that's exactly what it is.
We are thinking running a GitHub Action that does some linting and then extracting some code snippets that gets created in the fromFolder
and then move them into toFolder
.
If destination_repo
accepts either itself or a separate repo as an argument that can be passed in, then it'll do the trick.
I also noticed that I can't get env variable that already defined to work. source_file: '$PATH/file.txt' cp: can't stat '$PATH/ile.txt': No such file or directory
I tried several ways with no luck. Hope there is a update add envs support if isn't there already thanks.
Instead of having to hard code the
destination_repo
, it might be ideal if this can take default GitHub env. variables. Please see below. This could come in handy, especially if thisyml
is to be used as a template for multiple repos.