From af358ad671c150bc5816cac35597cbcc6a8697ea Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Tue, 27 Jan 2026 19:44:06 +0000 Subject: [PATCH] Clean up --- check-github-token/action.yml | 17 ----------------- check-github-token/entry.ts | 33 --------------------------------- 2 files changed, 50 deletions(-) delete mode 100644 check-github-token/action.yml delete mode 100644 check-github-token/entry.ts diff --git a/check-github-token/action.yml b/check-github-token/action.yml deleted file mode 100644 index f3df6de..0000000 --- a/check-github-token/action.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: "Check GitHub Token" -description: "Check if GITHUB_TOKEN environment variable exists" -author: "Pullfrog" - -inputs: - token: - description: "GitHub token" - required: false - default: ${{ github.token }} - anthropic_key: - description: "Anthropic API key" - required: false - default: ${{ secrets.ANTHROPIC_API_KEY }} - -runs: - using: "node24" - main: "entry.ts" diff --git a/check-github-token/entry.ts b/check-github-token/entry.ts deleted file mode 100644 index 8e630ec..0000000 --- a/check-github-token/entry.ts +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env node - -/** - * simple check that tokens exist via action inputs - */ - -const token = process.env.INPUT_TOKEN; -const anthropicKey = process.env.INPUT_ANTHROPIC_KEY; -let failed = false; - -console.log("checking token input..."); -if (token) { - console.log(`token exists, prefix: ${token.substring(0, 10)}...`); -} else { - console.error("token input is empty"); - console.log("::error::token input is empty"); - failed = true; -} - -console.log("checking anthropic_key input..."); -if (anthropicKey) { - console.log(`anthropic_key exists, prefix: ${anthropicKey.substring(0, 10)}...`); -} else { - console.error("anthropic_key input is empty"); - console.log("::error::anthropic_key input is empty"); - failed = true; -} - -if (failed) { - process.exit(1); -} - -console.log("all inputs present");