Task: Save the number of Github stars to Google Sheet

n8n workflow JSON:
{"id":"2","name":"Github stars count","nodes":[{"name":"Cron","type":"n8n-nodes-base.cron","position":[400,380],"parameters":{"triggerTimes":{"item":[{"hour":0}]}},"typeVersion":1},{"name":"GitHub","type":"n8n-nodes-base.github","position":[590,380],"parameters":{"owner":"TwakeApp","resource":"repository","operation":"get","repository":"Twake"},"credentials":{"githubApi":""},"typeVersion":1},{"name":"Google Sheets","type":"n8n-nodes-base.googleSheets","position":[980,380],"parameters":{"range":"A:C","options":{},"sheetId":"","operation":"append"},"credentials":{"googleApi":""},"typeVersion":1},{"name":"Function","type":"n8n-nodes-base.function","position":[780,380],"parameters":{"functionCode":"function formatDate(date) {\n    var d = new Date(date),\n        month = '' + (d.getMonth() + 1),\n        day = '' + d.getDate(),\n        year = d.getFullYear();\n\n    if (month.length < 2) \n        month = '0' + month;\n    if (day.length < 2) \n        day = '0' + day;\n\n    return [day, month, year].join('/');\n}\n\nconst formatedStars = {\n  date : formatDate(new Date()),\n  stars : items[0].json[\"stargazers_count\"],\n}\nreturn [{json : formatedStars}];"},"typeVersion":1}],"active":true,"settings":{},"connections":{"Cron":{"main":[[{"node":"GitHub","type":"main","index":0}]]},"GitHub":{"main":[[{"node":"Function","type":"main","index":0}]]},"Function":{"main":[[{"node":"Google Sheets","type":"main","index":0}]]}}}