diff --git a/action.yaml b/action.yaml index b44a5e7..01aeec8 100644 --- a/action.yaml +++ b/action.yaml @@ -10,7 +10,7 @@ inputs: # Repo Auth Token github-token: description: GitHub token used to authenticate API requests. - required: false + required: true default: ${{ github.token }} runs: diff --git a/src/settings.ts b/src/settings.ts index ffa4538..151675d 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -12,7 +12,7 @@ function parseList(raw: string): string[] { export function getSettings(): Settings { const settings = { // Repo Auth Token - githubToken: core.getInput(Input.GithubToken), + githubToken: core.getInput(Input.GithubToken, { required: true }), }; core.setSecret(settings.githubToken);