mirror of
https://github.com/actions/labeler.git
synced 2025-12-14 13:47:02 +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:
@@ -13,7 +13,7 @@ type ClientType = ReturnType<typeof github.getOctokit>;
|
||||
|
||||
export async function run() {
|
||||
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});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user