docs: update images (close #860) [skip ci]
This commit is contained in:
@@ -6,11 +6,13 @@ Setup a GitHub Action which runs periodically and pushes generated images to a r
|
||||
|
||||
Create a repository with the same name as your GitHub login (if it doesn't exist).
|
||||
|
||||

|
||||

|
||||

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

|
||||

|
||||

|
||||
|
||||
## 1️ Create a GitHub personal token
|
||||
|
||||
@@ -27,11 +29,13 @@ A a general rule, the following scopes may be required:
|
||||
|
||||
> 💡 For security reasons, it is advised to always use the least amount of scopes. It is possible to prevent security issues by [forking this repository](https://github.com/lowlighter/metrics/fork) and using it in your workflow instead (more information available in step 3)
|
||||
|
||||

|
||||

|
||||

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

|
||||

|
||||

|
||||
|
||||
When a plugin has not enough scopes to operate (and `plugins_errors_fatal` is disabled), an error will be reported in the rendering like below:
|
||||
|
||||
@@ -41,7 +45,8 @@ When a plugin has not enough scopes to operate (and `plugins_errors_fatal` is di
|
||||
|
||||
Go to the `Settings` of your repository and to create a new secret and paste your freshly generated GitHub token there.
|
||||
|
||||

|
||||

|
||||

|
||||
|
||||
## 3️ Setup GitHub Action workflow
|
||||
|
||||
@@ -67,7 +72,8 @@ jobs:
|
||||
|
||||
Rendered metrics will be committed to repository on each run.
|
||||
|
||||

|
||||

|
||||

|
||||
|
||||
### 3️.1️ Choosing between `@latest`, `@master`/`@main`, a fork or a pinned version
|
||||
|
||||
|
||||
@@ -6,11 +6,13 @@ For convenience, a free shared instance is available at [metrics.lecoq.io](https
|
||||
|
||||
Create a repository with the same name as your GitHub login (if it doesn't exist).
|
||||
|
||||

|
||||

|
||||

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

|
||||

|
||||

|
||||
|
||||
## 2️ Configure *metrics*
|
||||
|
||||
|
||||
@@ -14,7 +14,8 @@ No additional scopes are required.
|
||||
|
||||
> 💡 For security reasons, it is advised to use a scope-less token for web instances.
|
||||
|
||||

|
||||

|
||||

|
||||
|
||||
## 2️ Configure *metrics*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user