Files
metrics/source/plugins/introduction/README.md

61 lines
1.7 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### 🙋 Introduction
The *introduction* plugin display your account bio or your organization/repository description.
It is mostly intended for metrics used outside of GitHub, since these informations are already available on GitHub.
<table>
<td align="center">
<details open><summary>For an user or an organization</summary>
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.introduction.svg">
</details>
<details><summary>For a repository</summary>
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.introduction.repository.svg">
</details>
<img width="900" height="1" alt="">
</td>
</table>
#### ➡️ Available options
<!--options-->
| Option | Type *(format)* **[default]** *{allowed values}* | Description |
| ------ | -------------------------------- | ----------- |
| `plugin_introduction` | `boolean` **[no]** | Display account or repository introduction |
| `plugin_introduction_title` | `boolean` **[yes]** | Display introduction section title |
Legend for option icons:
* 🔐 Value should be stored in repository secrets
* ✨ New feature currently in testing on `master`/`main`
<!--/options-->
*[→ Full specification](metadata.yml)*
#### Examples workflows
<!--examples-->
```yaml
name: User introduction
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.introduction.svg
token: ${{ secrets.METRICS_TOKEN }}
user: github
base: header
plugin_introduction: 'yes'
```
```yaml
name: Repository introduction
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.introduction.repository.svg
token: ${{ secrets.METRICS_TOKEN }}
template: repository
repo: metrics
base: header
plugin_introduction: 'yes'
```
<!--/examples-->