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

View File

@@ -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});