go-scm/forge
Snider 175701fc93 fix(security): lock refreshMarketplace to canonical index path, isolate HOME in iter test
- pkg/api/provider.go: remove refreshRequest struct and filepath-based
  sanitisation; always load marketplace/index.json via a package-level
  const so callers cannot influence which file is read (path traversal fix)
- forge/orgs_test.go: add t.Setenv("HOME", t.TempDir()) to
  TestClient_ListMyOrgsIter_Bad_ServerError to prevent config bleed
  between test runs

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-07 11:30:04 +01:00
..
client.go chore(ax): add usage docs to exported APIs 2026-03-30 14:11:15 +00:00
client_test.go chore(ax): normalise test naming and usage annotations 2026-03-30 06:37:20 +00:00
config.go fix(review): address CodeRabbit PR #2 findings 2026-04-07 09:25:42 +01:00
config_test.go chore(ax): normalise test naming and usage annotations 2026-03-30 06:37:20 +00:00
issues.go feat(forge): add issue label getter 2026-04-02 13:56:22 +00:00
issues_test.go feat(forge): add issue label getter 2026-04-02 13:56:22 +00:00
labels.go fix(review): address CodeRabbit PR #2 round-2 findings 2026-04-07 10:29:22 +01:00
labels_test.go fix(review): address CodeRabbit PR #2 findings 2026-04-07 09:25:42 +01:00
meta.go fix(review): address CodeRabbit PR #2 findings 2026-04-07 09:25:42 +01:00
meta_test.go chore(ax): normalise test naming and usage annotations 2026-03-30 06:37:20 +00:00
orgs.go feat(forge): add org iterator 2026-04-01 08:47:55 +00:00
orgs_test.go fix(security): lock refreshMarketplace to canonical index path, isolate HOME in iter test 2026-04-07 11:30:04 +01:00
prs.go feat(forge): add undismiss review helper 2026-04-02 13:51:08 +00:00
prs_test.go feat(forge): add undismiss review helper 2026-04-02 13:51:08 +00:00
repos.go chore(ax): add usage docs to exported APIs 2026-03-30 14:11:15 +00:00
repos_test.go feat(forge): aggregate org labels across repos 2026-04-01 05:11:34 +00:00
testhelper_test.go feat(forge): add undismiss review helper 2026-04-02 13:51:08 +00:00
webhooks.go feat(forge): add repo webhook iterator 2026-04-01 07:35:26 +00:00
webhooks_test.go feat(forge): add repo webhook iterator 2026-04-01 07:35:26 +00:00