A command-line tool to check if a GitHub pull request is blocked by a specific user.
go install github.com/codeGROOVE-dev/turnclient/cmd/checkurl@latestcheckurl [options] <github-pr-url>
Options:
--backend=<url> Backend server URL (default: http://localhost:8080)
--user=<username> GitHub username to check (default: current authenticated user)
--verbose Enable verbose loggingCheck if a PR is blocked by the current authenticated user:
checkurl https://github.com/owner/repo/pull/123Check if a PR is blocked by a specific user:
checkurl --user=octocat https://github.com/owner/repo/pull/123Use a different backend server:
checkurl --backend=https://api.example.com https://github.com/owner/repo/pull/123The tool uses GitHub authentication to:
- Automatically detect the current user (when --user is not specified)
- Make authenticated API requests to avoid rate limits
Authentication methods (in order of precedence):
GITHUB_TOKENenvironment variable- GitHub CLI (
gh auth token)
To authenticate:
# Option 1: Set environment variable
export GITHUB_TOKEN=your_token_here
# Option 2: Use GitHub CLI
gh auth logingo build ./cmd/checkurlgo test ./...See LICENSE file.