The version variable is set via ldflags at build time but never exposed to users.
Fix
Add --version flag that prints version and exits
Log the version on startup: log.Printf("review-bot %s", version)
## Problem
The `version` variable is set via ldflags at build time but never exposed to users.
## Fix
- Add `--version` flag that prints version and exits
- Log the version on startup: `log.Printf("review-bot %s", version)`
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
The
versionvariable is set via ldflags at build time but never exposed to users.Fix
--versionflag that prints version and exitslog.Printf("review-bot %s", version)