Add missing properties in activity plugin mocks
This commit is contained in:
@@ -127,7 +127,7 @@ But there's more with [plugins](https://github.com/lowlighter/metrics/tree/maste
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th><a href="https://github.com/lowlighter/metrics#-habits">💡 Coding Habits plugin</a></th>
|
<th><a href="https://github.com/lowlighter/metrics#-habits">💡 Coding Habits plugin</a></th>
|
||||||
<th><a href="https://github.com/lowlighter/metrics#-activity">📰 Activity plugin</a></th>
|
<th><a href="https://github.com/lowlighter/metrics#-activity">📰 Activity plugin (`🚧 @master`)</a></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@@ -285,7 +285,9 @@ name: Metrics
|
|||||||
on:
|
on:
|
||||||
# Schedule updates
|
# Schedule updates
|
||||||
schedule: [{cron: "0 * * * *"}]
|
schedule: [{cron: "0 * * * *"}]
|
||||||
|
# Lines below let you run workflow manually and on each commit
|
||||||
push: {branches: ["master", "main"]}
|
push: {branches: ["master", "main"]}
|
||||||
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
github-metrics:
|
github-metrics:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -705,6 +705,9 @@
|
|||||||
action:"opened",
|
action:"opened",
|
||||||
number:5,
|
number:5,
|
||||||
pull_request:{
|
pull_request:{
|
||||||
|
user:{
|
||||||
|
login:"lowlighter",
|
||||||
|
},
|
||||||
state:"open",
|
state:"open",
|
||||||
title:"Pull request example",
|
title:"Pull request example",
|
||||||
additions:210,
|
additions:210,
|
||||||
|
|||||||
Reference in New Issue
Block a user