[MAINTENANCE] Migrate GitHub clients to go-github/v92
Author: coderabbitai[bot]Created Sep 25, 2026Updated Sep 26, 2026
LabelsType: Maintenance
Summary
Migrate GitHub clients to github.com/google/go-github/v92 for template downloads, custom template providers, and issue reporting. Remove the direct v30 dependency. This issue tracks the work proposed in PR #7778.
Required changes
- Update
go.modto depend directly on go-github/v92 instead of v30. - Adapt GitHub client construction and authenticated retry handling in
pkg/external/customtemplates/github.go. - Adapt release archive download calls and repository-rename handling in
pkg/installer/template.go. - Adapt client configuration and issue request types in
pkg/reporting/trackers/github/github.go.
Acceptance criteria
- Template downloads and issue reporting use go-github/v92.
- Authentication fallback, custom GitHub API paths, and one repository-rename redirect retain their existing behavior.
- Relevant tests and checks pass.
PR: https://github.com/projectdiscovery/nuclei/pull/7778 Request comment by @dwisiswant0: https://github.com/projectdiscovery/nuclei/pull/7778#issuecomment-5832886266
Source: projectdiscovery/nuclei