docs: minor changes [skip ci]

This commit is contained in:
lowlighter
2022-01-21 20:36:46 -05:00
parent 9ddfa49ef5
commit 2b42019e2c
2 changed files with 9 additions and 4 deletions

View File

@@ -1,12 +1,12 @@
# 🏦 Configure metrics for organizations
While metrics targets mainly user accounts, it's possible to render metrics for organization accounts.
While *metrics* targets mainly user accounts, it's possible to render metrics for organization accounts.
![Metrics (organization account)](https://github.com/lowlighter/metrics/blob/examples/metrics.organization.svg)
## *️⃣ Using *metrics* on organization
Setup is the same as for user accounts, and a personal access token from an user account is required excepted that `read:org` scope must be enabled, **whether you are member of the target organization or not**.
Setup is mostly the same as for user accounts. A personal access token from an user account is required excepted that `read:org` scope must be enabled, **whether you are member of the target organization or not**.
![Add read:org scope to personal token](/.github/readme/imgs/setup_token_org_read_scope.png)
@@ -26,6 +26,8 @@ Setup is the same as for user accounts, and a personal access token from an user
> 💡 To support private repositories, add `repo` scope
It is possible to host workflows in the `.github` repository of organizations, and display *metrics* on [organization profiles](https://docs.github.com/en/organizations/collaborating-with-groups-in-organizations/customizing-your-organizations-profile).
## *️⃣ Organizations memberships for user accounts
By default, GitHub only display public memberships.