Add support for reactions plugin (#180)

This commit is contained in:
Simon Lecoq
2021-03-09 19:58:53 +01:00
committed by GitHub
parent a839b0ae2d
commit 732d2a44b0
11 changed files with 230 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
### 🎭 Comment reactions
The *reactions* plugin displays overall reactions on your recent issues and issue comments.
<table>
<td align="center">
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.reactions.svg">
<img width="900" height="1" alt="">
</td>
</table>
#### Examples workflows
[➡️ Available options for this plugin](metadata.yml)
```yaml
- uses: lowlighter/metrics@latest
with:
# ... other options
plugin_reactions: yes
plugin_reactions_limit: 200 # Compute reactions over last 200 issue comments
plugin_reactions_days: 14 # Compute reactions on issue comments posted less than 14 days ago
plugin_reactions_details: percentage # Display reactions percentage
```