cli/pkg/cmd
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
..
accessibility PR feedback 2025-04-30 15:05:07 -04:00
actions Remove trailing whitespace 2025-02-13 11:06:27 +05:00
agent-task Use int64 for GitHub database IDs and add lint check 2026-05-13 13:16:43 +02:00
alias Fixes #10590 2025-03-26 13:42:39 -04:00
api Disable telemetry for GHES 2026-04-17 11:50:24 +02:00
attestation Add missing //go:build integration tag to verify_integration_test.go 2026-04-28 18:20:23 +02:00
auth Print gh auth refresh for 401 returns 2026-04-20 12:07:14 -06:00
browse feat(browse): add blame flag 2026-03-03 19:03:40 -07:00
cache Use int64 for GitHub database IDs and add lint check 2026-05-13 13:16:43 +02:00
codespace Use int64 for GitHub database IDs and add lint check 2026-05-13 13:16:43 +02:00
completion Add sampled command telemetry 2026-04-16 21:42:46 +02:00
config Add sampled command telemetry 2026-04-16 21:42:46 +02:00
copilot fix(copilot): update test assertion to match updated error message 2026-05-12 13:04:19 +00:00
extension Update command.go 2026-04-27 10:19:56 -04:00
factory Apply review feedback 2026-04-17 12:28:52 +02:00
gist Add usage examples to gh gist edit command 2026-02-17 12:38:15 -07:00
gpg-key Use int64 for GitHub database IDs and add lint check 2026-05-13 13:16:43 +02:00
issue Grammar fixes 2026-05-01 10:22:13 +03:00
label Grammar fixes 2026-05-01 10:22:13 +03:00
licenses Bundle licenses at release time (#12625) 2026-02-18 17:59:27 +01:00
org Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
pr Merge pull request #13326 from scop/style/grammar 2026-05-06 08:53:54 +02:00
preview Refactor MultiSelectWithSearch to use result struct 2026-01-26 13:29:22 -07:00
project Revert "refactor: deduplicate scope error handling between api/client.go and project queries" 2026-03-12 12:45:48 +01:00
release Fix infinite loop in 'gh release list --limit 0' 2026-04-04 18:13:25 +08:00
repo Use int64 for GitHub database IDs and add lint check 2026-05-13 13:16:43 +02:00
root Bump copilot telemetry sampling to 100% 2026-05-07 17:23:45 +02:00
ruleset Use int64 for GitHub database IDs and add lint check 2026-05-13 13:16:43 +02:00
run Fix log terminal injection 2026-04-23 13:56:33 +02:00
search Disable telemetry for GHES 2026-04-17 11:50:24 +02:00
secret refactor: drop multierror in favor of std 2025-12-02 15:08:58 +01:00
send-telemetry Add sampled command telemetry 2026-04-16 21:42:46 +02:00
skills Use int64 for GitHub database IDs and add lint check 2026-05-13 13:16:43 +02:00
ssh-key Use int64 for GitHub database IDs and add lint check 2026-05-13 13:16:43 +02:00
status Deprecate ColorScheme.Gray for ColorScheme.Muted 2025-04-06 10:18:48 -04:00
variable refactor: drop multierror in favor of std 2025-12-02 15:08:58 +01:00
version Add sampled command telemetry 2026-04-16 21:42:46 +02:00
workflow Grammar fixes 2026-05-01 10:22:13 +03:00