diff --git a/CHANGELOG.md b/CHANGELOG.md
index 016e495..814cc91 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,16 +1,11 @@
+## 1.0.14 (2021-01-16)
+
+* fix: somehow runner wont see template ([808c35c](https://github.com/simonecorsi/mawesome/commit/808c35c))
+
+
+
## 1.0.13 (2021-01-16)
-* fix: added required label ([173ce50](https://github.com/simonecorsi/mawesome/commit/173ce50))
-* fix: bad quotes in url ([76d0173](https://github.com/simonecorsi/mawesome/commit/76d0173))
-* fix: better errors ([f302126](https://github.com/simonecorsi/mawesome/commit/f302126))
-* fix: better template management ([9d06abc](https://github.com/simonecorsi/mawesome/commit/9d06abc))
-* fix: imports ([2e421f0](https://github.com/simonecorsi/mawesome/commit/2e421f0))
-* fix: imports ([376451a](https://github.com/simonecorsi/mawesome/commit/376451a))
-* fix: splitting tokens ([bd47078](https://github.com/simonecorsi/mawesome/commit/bd47078))
-* fix: variable name ([13e1fd1](https://github.com/simonecorsi/mawesome/commit/13e1fd1))
-* fix(action.yml): output file now correct path ([98b17f8](https://github.com/simonecorsi/mawesome/commit/98b17f8))
-* fix(ci): bad syntax ([caaf6ab](https://github.com/simonecorsi/mawesome/commit/caaf6ab))
-* fix(index.ts): fs promise fixed path ([285e193](https://github.com/simonecorsi/mawesome/commit/285e193))
* chore: action name ([8f3ce98](https://github.com/simonecorsi/mawesome/commit/8f3ce98))
* chore: namings ([b16fdb0](https://github.com/simonecorsi/mawesome/commit/b16fdb0))
* chore: post release script ([12dd0e4](https://github.com/simonecorsi/mawesome/commit/12dd0e4))
@@ -24,6 +19,7 @@
* chore(release): v1.0.10 ([c2a11da](https://github.com/simonecorsi/mawesome/commit/c2a11da))
* chore(release): v1.0.11 ([ab4322e](https://github.com/simonecorsi/mawesome/commit/ab4322e))
* chore(release): v1.0.12 ([0be94f1](https://github.com/simonecorsi/mawesome/commit/0be94f1))
+* chore(release): v1.0.13 ([ee21996](https://github.com/simonecorsi/mawesome/commit/ee21996))
* chore(release): v1.0.2 ([3cba062](https://github.com/simonecorsi/mawesome/commit/3cba062))
* chore(release): v1.0.3 ([71625bd](https://github.com/simonecorsi/mawesome/commit/71625bd))
* chore(release): v1.0.4 ([46583c7](https://github.com/simonecorsi/mawesome/commit/46583c7))
@@ -32,6 +28,17 @@
* chore(release): v1.0.7 ([410e2a7](https://github.com/simonecorsi/mawesome/commit/410e2a7))
* chore(release): v1.0.8 ([324332b](https://github.com/simonecorsi/mawesome/commit/324332b))
* chore(release): v1.0.9 ([7499f86](https://github.com/simonecorsi/mawesome/commit/7499f86))
+* fix: added required label ([173ce50](https://github.com/simonecorsi/mawesome/commit/173ce50))
+* fix: bad quotes in url ([76d0173](https://github.com/simonecorsi/mawesome/commit/76d0173))
+* fix: better errors ([f302126](https://github.com/simonecorsi/mawesome/commit/f302126))
+* fix: better template management ([9d06abc](https://github.com/simonecorsi/mawesome/commit/9d06abc))
+* fix: imports ([2e421f0](https://github.com/simonecorsi/mawesome/commit/2e421f0))
+* fix: imports ([376451a](https://github.com/simonecorsi/mawesome/commit/376451a))
+* fix: splitting tokens ([bd47078](https://github.com/simonecorsi/mawesome/commit/bd47078))
+* fix: variable name ([13e1fd1](https://github.com/simonecorsi/mawesome/commit/13e1fd1))
+* fix(action.yml): output file now correct path ([98b17f8](https://github.com/simonecorsi/mawesome/commit/98b17f8))
+* fix(ci): bad syntax ([caaf6ab](https://github.com/simonecorsi/mawesome/commit/caaf6ab))
+* fix(index.ts): fs promise fixed path ([285e193](https://github.com/simonecorsi/mawesome/commit/285e193))
* feat: better errors ([1700aa3](https://github.com/simonecorsi/mawesome/commit/1700aa3))
* feat: generate awesome list from stars ([0f6fa76](https://github.com/simonecorsi/mawesome/commit/0f6fa76))
* feat: git user now is action ([aa70ac9](https://github.com/simonecorsi/mawesome/commit/aa70ac9))
diff --git a/index.js b/index.js
index e2dfdc3..4e23308 100644
--- a/index.js
+++ b/index.js
@@ -21365,15 +21365,13 @@ const api_1 = __importDefault(__nccwpck_require__(8229));
const link_1 = __importDefault(__nccwpck_require__(9338));
const git_1 = __importDefault(__nccwpck_require__(6350));
const core = __importStar(__nccwpck_require__(2186));
-const path_1 = __importDefault(__nccwpck_require__(5622));
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 API_STARRED_URL = `https://api.github.com/users/${REPO_USERNAME}/starred`;
+const REPO_USERNAME = (_a = process.env.GITHUB_REPOSITORY) === null || _a === void 0 ? void 0 : _a.split('/')[0];
+const API_STARRED_URL = `${process.env.GITHUB_API_URL}/users/${REPO_USERNAME}/starred`;
const renderer = (data) => __awaiter(void 0, void 0, void 0, function* () {
try {
- const p = path_1.default.resolve(process.cwd(), 'template.ejs');
- const MD_TEMPLATE = yield fsp.readFile(p, 'utf-8');
+ const MD_TEMPLATE = yield fsp.readFile('./template.ejs', 'utf-8');
return ejs_1.default.render(MD_TEMPLATE, data);
}
catch (error) {
diff --git a/package.json b/package.json
index fd28397..5cd693d 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "mawesome",
- "version": "1.0.13",
+ "version": "1.0.14",
"description": "",
"main": "index.js",
"scripts": {