Update image links
This commit is contained in:
@@ -9,3 +9,5 @@ To suggest new features or requesting help to setup metrics, check out [discussi
|
||||
|
||||
If you want to contribute, submit a [pull request](https://github.com/lowlighter/metrics/pulls).
|
||||
Be sure to read [CONTRIBUTING.md](CONTRIBUTING.md) for more information about this.
|
||||
|
||||
If you don't know where to start, you can also take a look at issues labeled with [help wanted](https://github.com/lowlighter/metrics/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22).
|
||||
@@ -9,7 +9,7 @@ While metrics targets mainly user accounts, it's possible to render metrics for
|
||||
|
||||
Setup is the same as for user accounts, though you'll need to add `read:org` scope, **whether you're member of target organization or not**.
|
||||
|
||||

|
||||

|
||||
|
||||
You'll also need to set `user` option with your organization name.
|
||||
|
||||
@@ -37,11 +37,11 @@ To support private repositories, add full `repo` scope to your personal token.
|
||||
Only public memberships can be displayed by metrics by default.
|
||||
You can manage your membership visibility in the `People` tab of your organization:
|
||||
|
||||

|
||||

|
||||
|
||||
For organization memberships, add `read:org` scope to your personal token.
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
</details>
|
||||
|
||||
12
.github/readme/partials/setup/action.md
vendored
12
.github/readme/partials/setup/action.md
vendored
@@ -19,11 +19,11 @@ Assuming your username is `my-github-user`, you can then embed rendered metrics
|
||||
|
||||
Create a repository with the same name as your GitHub login (if it's not already done).
|
||||
|
||||

|
||||

|
||||
|
||||
Its `README.md` will be displayed on your user profile:
|
||||
|
||||

|
||||

|
||||
|
||||
### 1. Create a GitHub personal token
|
||||
|
||||
@@ -34,11 +34,11 @@ No additional scopes are needed for basic metrics, but you may have to grant add
|
||||
- `read:org` scope for all organizations related metrics
|
||||
- `repo` scope for all private repositories related metrics
|
||||
|
||||

|
||||

|
||||
|
||||
A scope-less token can still display private contributions by enabling `Include private contributions on my profile` in your account settings:
|
||||
|
||||

|
||||

|
||||
|
||||
If a plugin has not enough scopes to operate (and `plugins_errors_fatal` isn't enabled), it'll be reported in the rendering like below:
|
||||
|
||||
@@ -48,7 +48,7 @@ If a plugin has not enough scopes to operate (and `plugins_errors_fatal` isn't e
|
||||
|
||||
Go to the `Settings` of your repository to create a new secret and paste your freshly generated GitHub token there.
|
||||
|
||||

|
||||

|
||||
|
||||
### 3. Create a GitHub Action workflow in your repository
|
||||
|
||||
@@ -77,7 +77,7 @@ See all supported options in [action.yml](action.yml).
|
||||
|
||||
Rendered metrics will be committed to your repository on each run.
|
||||
|
||||

|
||||

|
||||
|
||||
#### Choosing between `@latest`, `@master` or a fork
|
||||
|
||||
|
||||
2
.github/readme/partials/setup/web.md
vendored
2
.github/readme/partials/setup/web.md
vendored
@@ -23,7 +23,7 @@ From the `Developer settings` of your account settings, select `Personal access
|
||||
|
||||
No additional scopes are needed.
|
||||
|
||||

|
||||

|
||||
|
||||
### 2. Install dependencies
|
||||
|
||||
|
||||
Reference in New Issue
Block a user