When contributing to this repository, please first discuss the change you wish to make via issue with the maintainers of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
- Ensure any install or build dependencies are removed before the end of the layer when doing a build. Add only relevant files to commit and ignore the rest to keep the repo clean.
- Update the README.md or other documentation with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters.
- You should request review from the maintainers once you submit the Pull Request.
# Clone the repo
$ git clone [email protected]:<User-Name>/prettier-cli-action.git
# Add upstream remote
$ git remote add upstream [email protected]:Monday-Morning/project-reclamation.git
# Fetch and rebase with upstream/main
$ git fetch upstream
$ git pull --ff upstream/main
# Push if any changes are rebased
$ git push origin main
# Ensure you are in the main branch
$ git branch
# Create your new branch
$ git checkout -b <type>/<issue|issue-number>/{<additional-fixes>}
$ git push origin <type>/<issue|issue-number>/{<additional-fixes>}
## Types:
# wip - Work in Progress; long term work; mainstream changes;
# feat - New Feature; future planned; non-mainstream changes;
# bug - Bug Fixes
# junk - Experimental; random experiemntal features; throwaway branch;
# Ensure branch
$ git branch
# Fetch and rebase with upstream/main
$ git fetch upstream
$ git pull --ff upstream/main
# Add untracked files one by one
$ git add .
# Commit all changes with appropriate commit message and description. Strcitly follow commit message standards.
$ git commit -m "your-commit-message" -m "your-commit-description"
# Fetch and rebase with upstream/main again
$ git fetch upstream
$ git pull --ff upstream/main
# Push changes to your forked repository
$ git push origin <type>/<issue|issue-number>/{<additional-fixes>}
- Create Pull Request from /<issue|issue-number>/{} branch in your forked repository to the main branch in the upstream repository. Again, ensure the name follows commit standards and the description must detail the work done.
- Link Pull Request to the appropriate Issue using closing keywords.
# Fetch and push changes
$ git checkout main
$ git fetch upstream main
$ git pull --ff upstream main
$ git push origin main
# Delete branch from forked repo
$ git branch -d <type>/<issue|issue-number>/{<additional-fixes>}
$ git push --delete origin <type>/<issue|issue-number>/{<additional-fixes>}
- Always follow conventional commits standards
- About the fork-and-branch workflow