lindell / multi-gitter

Update multiple repositories in with one command
Apache License 2.0
866 stars 64 forks source link

feat: Including Regular Expression filter when targeting Github Repositories #426

Closed josealdaco closed 10 months ago

josealdaco commented 11 months ago

What does this change

Allows to filter out target repositories using a regular expression

This change introduces two new flags --repo-include and --repo-exclude which will filter out repositories mentioned in their specified regular expressions. Example: multi-gitter run ./test.sh --repo-include "^repoprefix-" --repo-exclude "^repoprefix-ignorerepo$" --repo-search "repoprefix-" --dry-run --commit-message "chore: foo"

What issue does it fix

Notes for the reviewer

josealdaco commented 11 months ago

Moved regex filtering to https://github.com/lindell/multi-gitter/blob/e800b5cb591387f9f0e8773966df09844a5bfafe/internal/multigitter/run.go#L155

github-actions[bot] commented 10 months ago

Included in release v0.49.0 🎉