gh app-auth test
This page is generated from the output of gh-app-auth test --help in the checked-out source. To refresh it, run npm run reference:generate in website/.
Help output
Section titled “Help output”Test authentication for a specific repository using either a GitHub App or Personal Access Token.
For GitHub Apps this command verifies that:1. A GitHub App is configured for the repository pattern2. JWT token generation works with the private key3. Installation token can be retrieved4. GitHub API access works with the token
For Personal Access Tokens this command verifies that:1. A PAT is configured for the repository pattern2. The token can be retrieved from secure storage3. GitHub API access works with the token
Usage: gh-app-auth test [flags]
Examples: # Test authentication for a repository gh app-auth test --repo github.com/myorg/myrepo
# Test with verbose output gh app-auth test --repo github.com/myorg/myrepo --verbose
# Test current repository (if in git directory) gh app-auth test
Flags: -h, --help help for test -R, --repo string Repository to test (default: current repository) -v, --verbose Show detailed test output
Global Flags: --config string Path to configuration file --debug Enable debug output