From c3bcce3b08f353abb7ca0918f81b59cba2822d6c Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Sat, 9 Jan 2021 20:11:14 +0100 Subject: [PATCH] Add missing properties in activity plugin mocks --- README.md | 4 +++- source/app/mocks.mjs | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ea9c200..c3615ebc 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ But there's more with [plugins](https://github.com/lowlighter/metrics/tree/maste 💡 Coding Habits plugin - 📰 Activity plugin + 📰 Activity plugin (`🚧 @master`) @@ -285,7 +285,9 @@ name: Metrics on: # Schedule updates schedule: [{cron: "0 * * * *"}] + # Lines below let you run workflow manually and on each commit push: {branches: ["master", "main"]} + workflow_dispatch: jobs: github-metrics: runs-on: ubuntu-latest diff --git a/source/app/mocks.mjs b/source/app/mocks.mjs index 33a18262..f0e19e13 100644 --- a/source/app/mocks.mjs +++ b/source/app/mocks.mjs @@ -705,6 +705,9 @@ action:"opened", number:5, pull_request:{ + user:{ + login:"lowlighter", + }, state:"open", title:"Pull request example", additions:210,