feat: default repo-token to github.token (#227)

* feat: default `repo-token` to `github.token`

* Update README.md

* Update labeler.ts

* Update index.js

* Update action.yml

* Update dist/index.js

* Update index.js

* Update dist/index.js
This commit is contained in:
Michaël De Boey
2023-03-07 12:25:56 +01:00
committed by GitHub
parent b3338513be
commit ba790c862c
4 changed files with 7 additions and 9 deletions

2
dist/index.js vendored
View File

@@ -47,7 +47,7 @@ const minimatch_1 = __nccwpck_require__(3973);
function run() {
return __awaiter(this, void 0, void 0, function* () {
try {
const token = core.getInput('repo-token', { required: true });
const token = core.getInput('repo-token');
const configPath = core.getInput('configuration-path', { required: true });
const syncLabels = !!core.getInput('sync-labels', { required: false });
const prNumber = getPrNumber();