Authentication Issues
Error: “Bad credentials” or “401 Unauthorized”
Symptoms:- Workflow fails with authentication error
- Error message mentions “Bad credentials” or HTTP 401
-
Verify your token is correct
Make sure the secret name matches exactly.
-
Check token permissions
- Classic tokens need
reposcope (orpublic_repofor public repos only) - Fine-grained tokens need:
- Repository permissions: Contents (read), Metadata (read)
- If using data-branch: Contents (read and write)
- Classic tokens need
-
Regenerate the token
- Go to GitHub Settings > Tokens
- Delete the old token
- Create a new token with correct scopes
- Update the repository secret
Error: “Resource not accessible by integration”
Symptoms:- Workflow fails when trying to write to data branch
- Error mentions resource access
-
Check workflow permissions
-
Verify token has write access
- Classic token: Needs
reposcope (not justpublic_repo) - Fine-grained token: Needs Contents with read and write access
- Classic token: Needs
Repository Filtering Issues
Not all repositories are being tracked
Symptoms:- Some repositories are missing from reports
- Star count seems lower than expected
-
Check visibility filter
public: Only public reposprivate: Only private reposall: Public and private reposowned: Only repos you own (excludes org repos)
-
Check exclude patterns
-
Check minimum stars threshold
-
Check archived/fork settings
Regex exclusion patterns not working
Symptoms:- Repositories matching regex pattern are still being tracked
-
Use correct regex syntax
-
Test your regex pattern
- Use regex testing tools to verify your pattern
- Make sure it matches the full repository name (not including owner)
Data Branch Issues
Error: “Failed to push to data branch”
Symptoms:- Workflow fails during git push step
- Data branch is not being updated
-
Check branch protection rules
- Go to Repository Settings > Branches
- If data branch has protection rules, either:
- Remove protection from the data branch
- Or adjust rules to allow the action to push
-
Verify write permissions
-
Check if branch was manually deleted
- The action will recreate the branch automatically
- Wait for next run or trigger manually
Charts or reports not updating
Symptoms:- Old data is still showing
- Changes not reflected in badges or charts
-
Clear browser cache
- GitHub serves images with caching headers
- Force refresh: Ctrl+F5 (Windows/Linux) or Cmd+Shift+R (Mac)
-
Add cache-busting query parameter
Increment
v=each time to force refresh. -
Check workflow actually ran
- Go to Actions tab
- Verify the workflow completed successfully
- Check the data branch for new commits
Email Notification Issues
Emails not being received
Symptoms:- Workflow runs successfully
- No emails arrive
-
Verify SMTP configuration
-
Check spam folder
- Mark as “Not Spam” to whitelist future emails
- Add sender to contacts
-
For Gmail users:
- Use an App Password, not your regular password
- Enable “Less secure app access” (not recommended) or use App Password
-
Check notification threshold
-
Check workflow logs
- Look for SMTP connection errors
- Common issues: Wrong port, authentication failure, blocked by firewall
Email format looks broken
Symptoms:- HTML not rendering properly
- Images not loading
-
Images need public URLs
- Data branch must be in a public repository, or
- Use a different hosting solution for images
-
Some email clients strip styles
- This is normal behavior for security
- The action uses inline styles for best compatibility
Chart Generation Issues
Charts not appearing
Symptoms:- Chart files missing from data branch
- Broken image links in README
-
Verify charts are enabled
-
Check for enough data
- Charts need at least 2 snapshots to show trends
- Run the workflow at least twice
-
Verify file paths
Make sure branch name and path are correct.
Charts not showing dark mode
Symptoms:- Charts always show in light mode
- Dark mode toggle not working
-
Use system/browser dark mode
- SVG charts use
prefers-color-schememedia query - Toggle your system or browser theme
- SVG charts use
-
GitHub’s dark mode should work automatically
- No configuration needed
- If not working, clear cache and refresh
Performance Issues
Workflow runs very slowly
Symptoms:- Workflow takes many minutes to complete
- Timeout errors
-
Disable stargazer tracking
Stargazer tracking requires additional API calls per repository.
-
Reduce number of repositories
-
Reduce top-repos count
GitHub API rate limit exceeded
Symptoms:- Error message mentions rate limit
- Workflow fails after fetching some repositories
-
Use authenticated token
- Authenticated requests get 5,000/hour (vs 60/hour for unauthenticated)
- Make sure token is provided and valid
-
Reduce API calls
-
Run less frequently
With stargazer tracking disabled, the action typically uses fewer than 10 API requests for most users.
Configuration Issues
Error: “Invalid configuration”
Symptoms:- Workflow fails with configuration validation error
-
Check YAML syntax
-
Verify input types
-
Check for typos in option names
Config file not being loaded
Symptoms:- Custom config file is ignored
- Default settings are used
-
Verify file path
-
Check file exists
-
Workflow inputs override config file
- If both are provided, workflow inputs take precedence
GitHub Enterprise Issues
Action not working on GitHub Enterprise Server
Symptoms:- API connection fails on GHES instance
-
Specify API URL explicitly
-
Check GHES version
- Action requires GHES 3.0 or later
- Some features may not be available on older versions
-
Verify SSL certificates
- Self-signed certificates may cause connection issues
- Contact your GHES administrator
Getting Help
If none of these solutions work:-
Enable debug logging
- Go to repository Settings > Secrets and variables > Actions
- Add a secret:
ACTIONS_STEP_DEBUG=true - Re-run the workflow
- Check detailed logs for more information
-
Check existing issues
- GitHub Issues
- Someone may have already reported your issue
-
Open a bug report
- Use the bug report template
- Include:
- Full error message
- Workflow configuration (redact secrets)
- Debug logs if available
- Steps to reproduce
-
Ask in Discussions
- GitHub Discussions
- Community members may have experienced similar issues
When sharing logs or configurations, always redact sensitive information like tokens, passwords, and email addresses.