Open mrshu opened 4 days ago
Feel free to PR if you'd like and I'll review, else I'll have to get to this when I find time which might be a little bit.
Perhaps we go ahead and do #6 at the same time. lmk if you want to take a stab at it, else I'll take a look. If the CLI from HF doesn't work well with string ignore/allow patterns, we'll keep the script here.
The
ignore_patterns
are currently hard coded in the script:https://github.com/nateraw/huggingface-sync-action/blob/54e4f55015a52747b4e2a5c9f2ee1056880cdd42/sync_with_spaces.py#L38
In some specific cases, however, the user might want to update the
README.md
as part of the GH action as well.Would you be open to making the
ignore_patterns
user-configurable so that this would be possible?Thanks a bunch!