Fix SonarQube High severity issues in actions.go #39
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    

Summary
This PR addresses two High severity SonarQube issues in
pkg/github/actions.go:ListWorkflowRunshandler function by extracting parameter validation logicChanges
1. String Literal Constants
ErrFailedToGetGitHubClientconstant (replaced 14 occurrences)ErrFailedToMarshalResponseconstant (replaced 15 occurrences)2. Cognitive Complexity Reduction
workflowRunParamsstruct to hold workflow run parametersextractWorkflowRunParams()helper function to validate and extract all parametersListWorkflowRunshandler to use the helper, reducing from ~70 lines to ~35 linesTesting
./script/test)./script/lint)Review Checklist
github.ListWorkflowRunsOptionsis correctTradeoffs
extractWorkflowRunParamshelper is currently single-use. This is acceptable for reducing cognitive complexity, but if similar parameter patterns emerge in other functions, consider a more general solution.Link to Devin run: https://app.devin.ai/sessions/1923ed29469a4f47abb0e0d148237467
Requested by: Shawn Azman (@ShawnAzman)