cli/pkg/cmd/ruleset/view
William Martin d4cd79e28c Use int64 for GitHub database IDs and add lint check
Change all struct fields representing GitHub database IDs from int to
int64 to match the API spec and prevent potential overflow on 32-bit
architectures.

Add a custom go/analysis linter (idtype-checker) that flags struct
fields with ID-like names or JSON tags using int instead of int64,
integrated into make lint.

Closes #9247

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-13 13:16:43 +02:00
..
fixtures Allow --org parameter in lieu of a repo context for rulesets, add current_user_can_bypass to rs view (#7747) 2023-08-10 08:51:48 -07:00
http.go split ruleset types by API type 2023-07-05 13:57:19 -04:00
view.go Use int64 for GitHub database IDs and add lint check 2026-05-13 13:16:43 +02:00
view_test.go Remove trailing whitespace 2025-02-13 11:06:27 +05:00