mirror of
https://github.com/actions/labeler.git
synced 2025-12-11 03:58:05 +00:00
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:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user