feat(inputs): make github-token required

- to perform any failure action such as labeling, closing a PR, or leaving just a comment a token is required. Also many valuable checks, such as minGlobalMergeRatio, are only possible with a GitHub token.
This commit is contained in:
peaklabs-dev committed 2026-02-13 15:59:26 +01:00
1 parent d53ed19004
commit 014040ced1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -23,7 +23,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 }),
// General Settings
maxFailures: parseInt(core.getInput(Input.MaxFailures)),