diff --git a/CHANGELOG.md b/CHANGELOG.md index 190b8be..efc4dc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ +## 1.0.8 (2021-01-16) + +* fix: bad quotes in url ([4abcb32](https://github.com/simonecorsi/mawesome/commit/4abcb32)) + + + ## 1.0.7 (2021-01-16) +* chore(release): v1.0.7 ([3c133b8](https://github.com/simonecorsi/mawesome/commit/3c133b8)) * feat: better errors ([be667ed](https://github.com/simonecorsi/mawesome/commit/be667ed)) @@ -25,10 +32,3 @@ -## 1.0.3 (2021-01-16) - -* chore(release): v1.0.3 ([d973275](https://github.com/simonecorsi/mawesome/commit/d973275)) -* fix(action.yml): output file now correct path ([0ffe529](https://github.com/simonecorsi/mawesome/commit/0ffe529)) - - - diff --git a/index.js b/index.js index 984730e..a1a0691 100644 --- a/index.js +++ b/index.js @@ -21381,8 +21381,7 @@ const core = __importStar(__nccwpck_require__(2186)); const fsp = fs_1.default.promises; const REPO_USERNAME = (_a = process.env.GITHUB_REPOSITORY) === null || _a === void 0 ? void 0 : _a.split('/')[0]; const OUTPUT_FILENAME = core.getInput('output-filename') || 'README.md'; -const USERNAME = process.env.GITHUB_ACTOR || 'simonecorsi'; -const API_STARRED_URL = `'https://api.github.com/users/${REPO_USERNAME}/starred'`; +const API_STARRED_URL = `https://api.github.com/users/${REPO_USERNAME}/starred`; const renderer = (data) => __awaiter(void 0, void 0, void 0, function* () { try { const MD_TEMPLATE = yield fsp.readFile('fixtures/template.md.ejs', 'utf-8'); @@ -21446,7 +21445,7 @@ function main() { return acc; }, {}); const rendered = yield renderer({ - username: USERNAME, + username: REPO_USERNAME, stars: Object.entries(sortedByLanguages), updatedAt: Date.now(), }); diff --git a/package.json b/package.json index 327b3c7..97904c9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mawesome", - "version": "1.0.7", + "version": "1.0.8", "description": "", "main": "index.js", "scripts": {