Thank you for your interest in contributing to this project! We welcome contributions of all kinds: bug reports, feature requests, documentation improvements, and code changes.
- Fork the repository and clone your fork locally.
- Ensure you have the GitHub CLI (
gh) installed and authenticated. - The extension is a single Bash script (
gh-secure), so no build step is required.
- Create a new branch for your changes:
git checkout -b my-feature - Make your changes and test them locally by running
./gh-securefrom the repo root. - Ensure your changes work with both
--yesand interactive (step-by-step) modes. - Test with
--dry-runto verify no unintended side effects. - Commit your changes with clear, descriptive commit messages.
- Push to your fork and open a Pull Request against the
mainbranch.
- Follow Google Shell Style Guide conventions.
- Use meaningful variable names and add comments for non-obvious logic.
- Keep functions focused and well-named.
- Test edge cases (missing permissions, private repos, already-enabled features).
Please do NOT open a public GitHub issue for security vulnerabilities. Instead, please follow the instructions in SECURITY.md.
For all other bugs, please open an issue on GitHub with:
- A clear description of the problem.
- Steps to reproduce the issue.
- Expected vs. actual behavior.
- Environment details (OS,
ghversion, shell).
Open an issue describing:
- The use case or problem you'd like to solve.
- Your proposed approach (if you have one).
- Any alternatives you've considered.
This project follows the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code.