How To Use
Steps for setting up Git Board Flow in your repository
Follow these steps to set up Git Board Flow in your repository:
Create a PAT
Define a the personal access token to interact with issues, pull requests and boards.
Configure Branch Structure
Set up your repository's branch structure:
- Primary Branch: Default is
master(ormainfor newer repositories) - Development Branch: Default is
develop
You can customize these branch names in the configuration. These branches will serve as the foundation for your development workflow, where feature, bugfix, hotfix, release, docs and chore branches will be created from and merged back into.
- Primary Branch: Default is
Set Up Required Labels
Configure the following essential labels in your repository:
- Type Labels: For categorizing issues (e.g.,
feature,enhancement,bug,bugfix,hotfix,release,docs,documentation,chore,maintenance) - Action Labels: For perform different actions (e.g.,
branched,deploy,deployed) - Priority Labels: For issue prioritization (e.g.,
priority: high,priority: medium,priority: low) - Size Labels: For control task sizes (e.g.,
size: XS,size: S,size: M,size: L,size: XL,size: XXL)
These labels will be used by the action to automate workflows and organize your tasks effectively.
- Type Labels: For categorizing issues (e.g.,
Implement Issue Templates
Create issue templates to standardize task creation:
- Define templates for different types of issues (features, bugs, docs, releases, hotfixes etc.)
- Include necessary sections like Description, Acceptance Criteria, and Technical Details
- Include predefined labels on these templates.
The action will use these templates to automatically create appropriately named branches and set up tracking.
Install Git Board Flow
Add the GitHub Action to your repository by creating a workflow file per section:
- Configure the behavior on each push on
.github/workflows/gbf_commit.yml - Configure the issues behavior on
.github/workflows/gbf_issue.yml - Pull Request confuguration must be on
.github/workflows/gbf_pr.yml
These workflows will then automatically manage everything under the hood, creating branches, updating project boards, and maintaining the relationship between issues and code.
- Configure the behavior on each push on