Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mergestat/bulk
CLI for running bulk actions (ad-hoc scripts) on sets of Git repositories
https://github.com/mergestat/bulk
Last synced: 7 days ago
JSON representation
CLI for running bulk actions (ad-hoc scripts) on sets of Git repositories
- Host: GitHub
- URL: https://github.com/mergestat/bulk
- Owner: mergestat
- License: mit
- Created: 2022-06-12T02:02:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-19T22:25:13.000Z (over 2 years ago)
- Last Synced: 2024-06-21T18:52:30.323Z (5 months ago)
- Language: Go
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bulk
`bulk` is a CLI for running bulk actions (ad-hoc scripts) on sets of Git repositories.
Often, it can be useful to run some action(s) against a grouping of repositories (all the repos in an org, all repos of a certain language, all rails repos, all golang repos etc.)## Examples
The `GITHUB_TOKEN` env variable must be set to fetch repositories from a GitHub org or user.
### Check if every repo in an org has a `LICENSE` file
```yaml
# bulk.yaml
repos:
githubOrgRepos:
- org: mergestatactions:
# - command: cat LICENSE
- command: >-
if [[ -f "LICENSE" ]]; then echo ✅; else echo ❌;fi
```## Roadmap
- [ ] File based output mode - create an output file for the results of commands run in each repo
- [ ] Logging improvements
- [ ] Support repo caching, so that a new clone is not needed on every run
- [ ] Release with GoReleaser