Replace fmt.Sprintf string interpolation with GraphQL query variables in getOwnerNodeId() to eliminate GraphQL injection risk. The owner login is now passed as a variable (-f login=<owner>) instead of being embedded directly into the query string. This matches the pattern already used in validateOwner() and eliminates alerts #651 and #652 (workflow-go-graphql-injection-sprintf). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
pelikhan marked this pull request as ready for review
July 25, 2026 07:49Copilot AI review requested due to automatic review settings
July 25, 2026 07:49Closed
pelikhan deleted the fix/code-scanning-651-652-graphql-injection-25bccd7f4885a0e3 branch
July 25, 2026 08:37Closed
Closed