diff --git a/action.yml b/action.yml index fd4e8b6d..08fdfc1a 100644 --- a/action.yml +++ b/action.yml @@ -171,7 +171,7 @@ inputs: # Posts plugin # Display recent posts from an external source plugin_posts: - description: Enable posts posts + description: Enable recent posts display default: no # Posts source @@ -182,6 +182,12 @@ inputs: description: Posts source default: "" + # Posts limits + # Set number of posts to display + plugin_posts_limit: + description: Posts limit + default: 4 + # Isometric calendar plugin # Display an isometric view of your commits calendar, along with a few stats like current streak and average commits per day plugin_isocalendar: diff --git a/action/dist/index.js b/action/dist/index.js index d47b8dd4..6d448a73 100644 --- a/action/dist/index.js +++ b/action/dist/index.js @@ -1083,7 +1083,7 @@ var E_Users_lecoq_Documents_GitHub_gitstats_node_modules_actions_github_lib_gith followup:{enabled:bool(core.getInput("plugin_followup"))}, music:{enabled:bool(core.getInput("plugin_music"))}, posts:{enabled:bool(core.getInput("plugin_posts"))}, - isocalendar:{enabled:bool(core.getInput("isocalendar"))}, + isocalendar:{enabled:bool(core.getInput("plugin_isocalendar"))}, } let q = Object.fromEntries(Object.entries(plugins).filter(([key, plugin]) => plugin.enabled).map(([key]) => [key, true])) console.log(`Plugins enabled | ${Object.entries(plugins).filter(([key, plugin]) => plugin.enabled).map(([key]) => key).join(", ")}`) diff --git a/action/index.mjs b/action/index.mjs index c70b557d..9bec9f1d 100644 --- a/action/index.mjs +++ b/action/index.mjs @@ -81,7 +81,7 @@ followup:{enabled:bool(core.getInput("plugin_followup"))}, music:{enabled:bool(core.getInput("plugin_music"))}, posts:{enabled:bool(core.getInput("plugin_posts"))}, - isocalendar:{enabled:bool(core.getInput("isocalendar"))}, + isocalendar:{enabled:bool(core.getInput("plugin_isocalendar"))}, } let q = Object.fromEntries(Object.entries(plugins).filter(([key, plugin]) => plugin.enabled).map(([key]) => [key, true])) console.log(`Plugins enabled | ${Object.entries(plugins).filter(([key, plugin]) => plugin.enabled).map(([key]) => key).join(", ")}`)