diff --git a/action.yml b/action.yml index a3a5e866..4e32a7ef 100644 --- a/action.yml +++ b/action.yml @@ -1008,7 +1008,7 @@ inputs: # Username on Wakatime plugin_wakatime_user: description: Your Wakatime user on the selfhosted Wakapi instance - default: .user.login + default: current # ==================================================================================== # 💹 Stock prices diff --git a/source/plugins/achievements/index.mjs b/source/plugins/achievements/index.mjs index ee0439f7..ff844072 100644 --- a/source/plugins/achievements/index.mjs +++ b/source/plugins/achievements/index.mjs @@ -81,7 +81,7 @@ async function total({imports}) { const page = await browser.newPage() await page.goto("https://github.com/search") const result = await page.evaluate(() => [...document.querySelectorAll("h2")].filter(node => /Search more/.test(node.innerText)).shift()?.innerText.trim().match(/(?\d+)M\s+(?repositories|users|issues)$/)?.groups) ?? null - console.log(`metrics/compute/plugins > achievements > setup found ${result?.type ?? "(?)"}`) + console.debug(`metrics/compute/plugins > achievements > setup found ${result?.type ?? "(?)"}`) if ((result?.type) && (!total[result.type])) { const {count, type} = result total[type] = Number(count) * 10e5 diff --git a/source/plugins/wakatime/metadata.yml b/source/plugins/wakatime/metadata.yml index f5571cf5..becdb6e4 100644 --- a/source/plugins/wakatime/metadata.yml +++ b/source/plugins/wakatime/metadata.yml @@ -68,4 +68,4 @@ inputs: plugin_wakatime_user: description: Your Wakatime user on the selfhosted Wakapi instance type: string - default: .user.login + default: current