Central repository for automation scripts and tools used across HiveForge projects.
Apply HiveForge repository standards to any repository in the organization.
Features:
- ✅ Enable auto-merge for Dependabot PRs
- ✅ Configure branch protection rules
- ✅ Verify required workflows exist
- ✅ Idempotent (safe to run multiple times)
- ✅ Cross-platform (PowerShell & Bash)
Quick Start:
Windows (PowerShell):
# Download and run
Invoke-WebRequest https://raw.githubusercontent.com/hiveforge-sh/scripts/main/setup-repo/setup-repo-standards.ps1 -OutFile setup.ps1
./setup.ps1 -Repo your-repo-name
Remove-Item setup.ps1macOS/Linux (Bash):
# Download and run
curl -sSL https://raw.githubusercontent.com/hiveforge-sh/scripts/main/setup-repo/setup-repo-standards.sh | bash -s your-repo-nameOr clone once and reuse:
git clone https://github.com/hiveforge-sh/scripts.git ~/hiveforge-scripts
~/hiveforge-scripts/setup-repo/setup-repo-standards.sh your-repo-nameClone this repository to a convenient location:
git clone https://github.com/hiveforge-sh/scripts.git ~/hiveforge-scriptsAdd to your PATH (optional):
Bash/Zsh (~/.bashrc or ~/.zshrc):
export PATH="$HOME/hiveforge-scripts/setup-repo:$PATH"PowerShell (Profile):
$env:PATH += ";$HOME\hiveforge-scripts\setup-repo"Each script can be downloaded and run directly via curl or Invoke-WebRequest.
Each script directory contains:
README.md- Detailed usage instructions- Script files (
.ps1for PowerShell,.shfor Bash) - Configuration templates (if applicable)
- Create a new directory for your script category
- Provide both PowerShell (
.ps1) and Bash (.sh) versions - Include a
README.mdwith usage instructions - Add entry to this main README
- Test on Windows, macOS, and Linux
- ✅ Always provide cross-platform versions (PowerShell + Bash)
- ✅ Make scripts idempotent (safe to run multiple times)
- ✅ Include comprehensive error handling
- ✅ Use color-coded output for clarity
- ✅ Document all parameters and examples
- ✅ Follow existing script patterns
See hivemind's CROSS-PLATFORM-SCRIPTS.md for detailed guidelines.
| Script | Description | Platforms |
|---|---|---|
| setup-repo | Apply HiveForge repository standards | Windows, macOS, Linux |
| aws | Configure AWS S3 + Route53 redirects | Windows, macOS, Linux |
More scripts coming soon...
- Scripts use GitHub CLI (
gh) for authentication - No credentials are stored in this repository
- All API calls use the user's authenticated
ghsession - Scripts require appropriate repository permissions
MIT License - See individual script directories for specific licensing.
Found a bug or have a feature request?
- Check existing issues
- Open a new issue with:
- Script name and version
- Operating system and shell version
- Expected vs actual behavior
- Steps to reproduce
Maintained by the HiveForge team 🐝