Thank you for your interest in contributing back to this collection 🚀. I welcome all suggestions, bug reports, enhancements, documentation improvements, etc.
Contributing to a project on GitHub is pretty straight forward. If this is your first time, these are the steps you should take:
- Fork this repo
- Make your change(s) in your fork - it doesn't matter which branch
- If you're adding a new script to the
gh-cli
orscripts
directory, add it to the appropriateREADME.md
file - Likewise, if you're significantly modifying a script, consider double checking that the respective
README.md
is still accurate - Create a pull request back to the main branch of this repo
- A linting job will run on your PR to ensure the file has been added to the appropriate
README.md
file correctly - That's it! Give me some time to review and approve the PR
When adding new scripts to the gh-cli
or scripts
directory, you must also add the script to the appropriate README.md
file. This is done to ensure that it is still possible to search/find relevant scripts effectively. A linting job will run on your PR to ensure the file has been added to the appropriate README.md
file correctly.
This means:
- There are no scripts that aren't added to the
README.md
- There are no headings in the
README.md
that don't exist as scripts in the directory - That scripts are in alphabetical order (using VS Code / GitHub sorting)
- That the file is named correctly (kebab casing)
- That
.sh
files have executable permissions (i.e.:chmod +x ./my-file.sh
) - That you aren't using the shorthand
repo
,repos
,org
, ororgs
in the filenames; spell out the full word (i.e.:repository
,repositories
,organization
, andorganizations
)
I strive to maintain well-commented code. If a code segment is complex or not immediately clear, it should be accompanied by comments for clarity. When introducing new code or modifying existing code in a way that changes its function or usage, ensure it is properly documented both in the script and the respective README.md
file.