@@ -671,7 +671,7 @@ alignment between action inputs, environment variables, and CLI flags:
671671| `CI_TESTING` | `CI_TESTING` | `--ci-testing` | No | `"false"` | Enable CI testing mode (overrides .gitreview) |
672672| `ISSUE_ID` | `ISSUE_ID` | `--issue-id` | No | `""` | Issue ID to include (e.g., ABC-123) |
673673| `ISSUE_ID_LOOKUP` | N/A | N/A | No | `"false"` | Enable Issue ID lookup via JSON table |
674- | `ISSUE_ID_LOOKUP_JSON` | N/A | N/A | No | `"{} "` | JSON mapping of GitHub actors to Issue IDs |
674+ | `ISSUE_ID_LOOKUP_JSON` | N/A | N/A | No | `"[] "` | JSON array mapping GitHub actors to Issue IDs |
675675| `G2G_USE_SSH_AGENT` | `G2G_USE_SSH_AGENT` | N/A | No | `"true"` | Use SSH agent for authentication |
676676| `DUPLICATE_TYPES` | `DUPLICATE_TYPES` | `--duplicate-types` | No | `"open"` | Comma-separated Gerrit change states to check for duplicate detection |
677677| `GERRIT_SERVER` | `GERRIT_SERVER` | `--gerrit-server` | No² | `""` | Gerrit server hostname (auto-derived if enabled) |
@@ -687,6 +687,10 @@ alignment between action inputs, environment variables, and CLI flags:
6876871. Auto-derived when `G2G_ENABLE_DERIVATION=true` (default : true in all contexts)
6886882. Optional if `.gitreview` file exists in repository
689689
690+ The format required for the JSON Issue-ID lookup is :
691+
692+ `[{"key" : " username" , "value": "ISSUE-ID"}]`
693+
690694# ## Internal Environment Variables
691695
692696The following environment variables control internal behavior but are not action inputs :
@@ -788,12 +792,12 @@ explicit `ISSUE_ID` exists:
7887922. **Example JSON format:**
789793
790794 ` ` ` json
791- {
792- " dependabot[bot]": "AUTO-123",
793- " renovate[bot]": "AUTO-456",
794- " alice": "PROJ-789",
795- " bob": "PROJ-101"
796- }
795+ [
796+ { "key": " dependabot[bot]", "value" : "AUTO-123" } ,
797+ { "key": " renovate[bot]", "value" : "AUTO-456" } ,
798+ { "key": " alice", "value" : "PROJ-789" } ,
799+ { "key": " bob", "value" : "PROJ-101" }
800+ ]
797801 ` ` `
798802
799803**Lookup Logic:**
0 commit comments