Fix bad input name
This commit is contained in:
@@ -171,7 +171,7 @@ inputs:
|
|||||||
# Posts plugin
|
# Posts plugin
|
||||||
# Display recent posts from an external source
|
# Display recent posts from an external source
|
||||||
plugin_posts:
|
plugin_posts:
|
||||||
description: Enable posts posts
|
description: Enable recent posts display
|
||||||
default: no
|
default: no
|
||||||
|
|
||||||
# Posts source
|
# Posts source
|
||||||
@@ -182,6 +182,12 @@ inputs:
|
|||||||
description: Posts source
|
description: Posts source
|
||||||
default: ""
|
default: ""
|
||||||
|
|
||||||
|
# Posts limits
|
||||||
|
# Set number of posts to display
|
||||||
|
plugin_posts_limit:
|
||||||
|
description: Posts limit
|
||||||
|
default: 4
|
||||||
|
|
||||||
# Isometric calendar plugin
|
# Isometric calendar plugin
|
||||||
# Display an isometric view of your commits calendar, along with a few stats like current streak and average commits per day
|
# Display an isometric view of your commits calendar, along with a few stats like current streak and average commits per day
|
||||||
plugin_isocalendar:
|
plugin_isocalendar:
|
||||||
|
|||||||
2
action/dist/index.js
vendored
2
action/dist/index.js
vendored
@@ -1083,7 +1083,7 @@ var E_Users_lecoq_Documents_GitHub_gitstats_node_modules_actions_github_lib_gith
|
|||||||
followup:{enabled:bool(core.getInput("plugin_followup"))},
|
followup:{enabled:bool(core.getInput("plugin_followup"))},
|
||||||
music:{enabled:bool(core.getInput("plugin_music"))},
|
music:{enabled:bool(core.getInput("plugin_music"))},
|
||||||
posts:{enabled:bool(core.getInput("plugin_posts"))},
|
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]))
|
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(", ")}`)
|
console.log(`Plugins enabled | ${Object.entries(plugins).filter(([key, plugin]) => plugin.enabled).map(([key]) => key).join(", ")}`)
|
||||||
|
|||||||
@@ -81,7 +81,7 @@
|
|||||||
followup:{enabled:bool(core.getInput("plugin_followup"))},
|
followup:{enabled:bool(core.getInput("plugin_followup"))},
|
||||||
music:{enabled:bool(core.getInput("plugin_music"))},
|
music:{enabled:bool(core.getInput("plugin_music"))},
|
||||||
posts:{enabled:bool(core.getInput("plugin_posts"))},
|
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]))
|
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(", ")}`)
|
console.log(`Plugins enabled | ${Object.entries(plugins).filter(([key, plugin]) => plugin.enabled).map(([key]) => key).join(", ")}`)
|
||||||
|
|||||||
Reference in New Issue
Block a user