diff --git a/analyze/processPRs.js b/analyze/processPRs.js index 6b842bc..668ada7 100644 --- a/analyze/processPRs.js +++ b/analyze/processPRs.js @@ -56,8 +56,8 @@ async function processPRs() { }); console.log(authorData) - console.log(authorJsonPath) - fs.writeFileSync(authorJsonPath, JSON.stringify(authorData, null, 2)); + console.log(process.env.GITHUB_WORKSPACE+"/analyze/author.json") + fs.writeFileSync(process.env.GITHUB_WORKSPACE+"/analyze/author.json", JSON.stringify(authorData, null, 2)); console.log('PRs processed and author.json updated successfully.'); } catch (error) {