mirror of
https://github.com/claude-did-this/claude-hub.git
synced 2026-02-15 03:31:47 +01:00
This commit reorganizes all scripts in the repository into a more structured directory layout for better maintainability: - Categorizes scripts by functionality (setup, build, aws, runtime, security, utils) - Organizes test scripts into logical categories - Consolidates redundant scripts with unified interfaces - Adds backward compatibility wrappers - Adds detailed SCRIPTS.md documentation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
405 B
Bash
Executable File
13 lines
405 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Test GitHub token
|
|
source .env
|
|
|
|
echo "Testing GitHub token..."
|
|
|
|
# Test with curl
|
|
curl -s -H "Authorization: token ${GITHUB_TOKEN}" https://api.github.com/user | jq '.'
|
|
|
|
# Test with gh cli (in a container)
|
|
echo "Testing with gh CLI in container..."
|
|
docker run --rm -e GH_TOKEN="${GITHUB_TOKEN}" claude-code-runner:latest bash -c 'echo $GH_TOKEN | gh auth login --with-token && gh auth status' |