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
@@ -10,7 +10,7 @@ inputs:
# Repo Auth Token # Repo Auth Token
github-token: github-token:
description: GitHub token used to authenticate API requests. description: GitHub token used to authenticate API requests.
required: false required: true
default: ${{ github.token }} default: ${{ github.token }}
# General Settings # General Settings
+1 -1
View File
@@ -23,7 +23,7 @@ function parseList(raw: string): string[] {
export function getSettings(): Settings { export function getSettings(): Settings {
const settings = { const settings = {
// Repo Auth Token // Repo Auth Token
githubToken: core.getInput(Input.GithubToken), githubToken: core.getInput(Input.GithubToken, { required: true }),
// General Settings // General Settings
maxFailures: parseInt(core.getInput(Input.MaxFailures)), maxFailures: parseInt(core.getInput(Input.MaxFailures)),