GitHub
Who can use it: the Super Admin, Project Managers and Architects connect GitHub organisations, for your firm and for each client, and link each project’s repositories. Everyone else in the firm sees Firm settings → Integrations → GitHub read-only. Everyone on a project, clients included, sees a feature’s Pull requests tab. Firm members also see the pull requests on each task.
Once a project’s repositories are linked, every branch and pull request that names a feature, story or task attaches itself. You no longer copy pull request links by hand, and anyone can see what’s open, merged or failing its checks. NorthFloe only reads GitHub: it never pushes code, opens pull requests or merges, and a task’s status still changes by hand.
Use case
Section titled “Use case”Asha connects Bluepeak’s GitHub organisation once. Ravi links the harbor/ordering-app repository to the Harbor Ordering App. Arjun opens a pull request titled “REQ-4/T1: reorder API”: it shows on task T1 of REQ-4 “Reorder a past order” within a minute, with its checks. A second pull request, “REQ-4/S2: show the new total”, covers a whole story. On REQ-4’s Pull requests tab, Ravi and Tom see both, with 12 files changed: 7
.java, 2.tsxand 3 tests, so 25% of the files are tests.
flowchart TB
A["Super Admin, PM or Architect<br/>connects GitHub organisations"] --> B["PM or Architect links the<br/>project's repositories"]
B --> C["A branch or pull request<br/>names REQ-4, REQ-4/S2 or REQ-4/T1"]
C --> D["It attaches to the feature,<br/>story or task, with its checks"]
D --> E["The feature's Pull requests tab<br/>counts files by type and tests"]
The Integrations page
Section titled “The Integrations page”Firm settings → Integrations has a tab for GitHub and one for Slack, each with a status dot and a short summary such as “3 orgs” or “Off”. Select one to open it below. The address keeps your choice (?tab=github), so a link or a refresh opens the same card.
The GitHub card has two sections:
- Firm: your firm’s organisations, used by internal projects and by clients without their own. Each shows who connected it and when, its linked repositories, and the projects using it.
- Clients: every client, with its own organisations, or ↳ uses firm when it has none, and its projects.
A project that could link repositories but has none yet shows a warning with a link to its Project settings → Repositories.
Connect a GitHub organisation
Section titled “Connect a GitHub organisation”Your firm and each client can connect any number of GitHub organisations, even ones under different GitHub accounts. For example, your website may live in another organisation than your client work.
- Go to Firm settings → Integrations → GitHub.
- Select Add org under Firm, or on a client’s row.
- GitHub asks where to install the NorthFloe GitHub App. Choose the organisation and which repositories the app may read, then select Install. GitHub may ask you to authorise NorthFloe: this only proves you can see that installation.
- You come back to Firm settings → Integrations, where the organisation is added to that list. Organisations already connected stay as they are.
- An organisation can be connected only once: to your firm, to one client, or to another firm. If it’s already connected, NorthFloe tells you to whom.
- To give the app access to more repositories later, change the app’s repository access on GitHub.
- Disconnect on an organisation (after a confirm) removes only that organisation: the app is uninstalled and the repositories linked through it are unlinked. Every other organisation and link stays, and pull requests already shown stay as they were.
- If the app is suspended or uninstalled on GitHub, that organisation’s row says so.
Which organisations a project uses
Section titled “Which organisations a project uses”- A client’s project links repositories from its client’s organisations.
- If that client has none, it uses your firm’s organisations. Once a client has its own, its projects no longer see your firm’s, so one client’s code never shows on another’s project.
- Internal projects always use your firm’s organisations.
- Repositories linked earlier keep working, with all their pull requests.
Link a project’s repositories
Section titled “Link a project’s repositories”- In the project, go to Project settings → Repositories.
- Under Link a repository, pick From: the organisation the repository comes from. When the project can use only one, it’s already chosen.
- Pick one of that organisation’s repositories the app can read, then select Link repository.
A project can link several repositories, from several organisations, and the same repository can be linked to several projects. Each linked repository shows the organisation it comes from. Unlink stops new activity from showing; pull requests already shown stay.
Name the key
Section titled “Name the key”A branch or pull request attaches to whatever its branch name, title or description names:
| Name it | Attaches to | Example |
|---|---|---|
REQ-4 |
the whole feature | “REQ-4: reorder, first cut” |
REQ-4/S2 |
a user story | “REQ-4/S2: show the new total” |
REQ-4/T1 |
a task | “REQ-4/T1: reorder API” |
Use whichever fits how your team works: one pull request per task, per story or per feature. A pull request that names several keys attaches to each. Keys are matched as whole words, so REQ-4 never matches REQ-40, and REQ-04 is the same as REQ-4. In a branch name you can also write req-4-t1-reorder.
See the code on a task
Section titled “See the code on a task”Open a task: its Code panel lists each pull request with its state (open, draft, merged or closed), its checks (passing, failing or running), the author, when it last changed and a link to GitHub. A branch without a pull request yet shows there too. The task lists show a small badge with each task’s pull request state and checks.
A pull request link typed into the task’s PR field works the same way, as long as it’s in a linked repository.
To remove a wrong match, select ⋯ → Detach. It won’t attach to that task again. Detaching is open to the Super Admin, Project Managers, Architects and Developers.
The feature’s Pull requests tab
Section titled “The feature’s Pull requests tab”The tab lists every pull request for the feature, once each, whichever level it was named at:
- Counts: how many are open, draft, merged and closed.
- Files changed: the total by file type (
.java,.tsx,.sql…), with test files counted separately in a Tests group, lines added and removed, and the share of files that are tests. Pull requests closed without merging are listed but not counted. - Covers: what each pull request names, such as “Feature”, “S1” or “T2, T3”. Open a row to see its own counts.
- Filter by a story (its own pull requests and those of the tasks that deliver its ACs) or by a task.
A file counts as a test when it’s in a src/test, test, tests or __tests__ folder, or its name looks like OrderTest.java, OrderIT.java, order.test.ts, order.spec.ts, test_order.py, order_test.py or order_test.go.
Good to know
Section titled “Good to know”-
Environments and releases: once repositories are linked, map each environment to a branch in Project settings → Environments to see what reached Dev, Staging and Production. The app reads deployments to confirm what’s live. If your organisation installed it before that, Firm settings → Integrations shows a note until the Super Admin approves the updated permissions on GitHub.
-
Pull requests and checks update within a minute of the change on GitHub.
-
Nothing in GitHub changes a task’s, feature’s or test case’s status.
-
A pull request with more than 3,000 changed files shows partial counts.
-
GitLab and Bitbucket aren’t available yet.