Skip to content

fix: properly handle error from OptionalParam for return_content

535c022
Select commit
Loading
Failed to load commit list.
Open

feat: implement token security improvements for MBA-482 #66

fix: properly handle error from OptionalParam for return_content
535c022
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 25, 2025 in 27s

Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 1105 in pkg/github/actions_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this error explicitly or document why it can be safely ignored.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xTnSEDUlIyEyoIM&open=AZq77xTnSEDUlIyEyoIM&pullRequest=66

Check warning on line 51 in e2e/e2e_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the 'Get' prefix from this function name.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xbjSEDUlIyEyoIX&open=AZq77xbjSEDUlIyEyoIX&pullRequest=66

Check failure on line 1058 in pkg/github/actions_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this error explicitly or document why it can be safely ignored.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xTnSEDUlIyEyoIL&open=AZq77xTnSEDUlIyEyoIL&pullRequest=66

Check failure on line 20 in pkg/github/actions_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this error explicitly or document why it can be safely ignored.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xTnSEDUlIyEyoID&open=AZq77xTnSEDUlIyEyoID&pullRequest=66

Check failure on line 307 in pkg/github/actions_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this error explicitly or document why it can be safely ignored.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xTnSEDUlIyEyoIF&open=AZq77xTnSEDUlIyEyoIF&pullRequest=66

Check warning on line 399 in pkg/github/actions.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the 'Get' prefix from this function name.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xXiSEDUlIyEyoIO&open=AZq77xXiSEDUlIyEyoIO&pullRequest=66

Check warning on line 80 in e2e/e2e_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the 'Get' prefix from this function name.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xbjSEDUlIyEyoIY&open=AZq77xbjSEDUlIyEyoIY&pullRequest=66

Check warning on line 1200 in pkg/github/actions.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the 'Get' prefix from this function name.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xXiSEDUlIyEyoIR&open=AZq77xXiSEDUlIyEyoIR&pullRequest=66

Check failure on line 688 in pkg/github/actions.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this error explicitly or document why it can be safely ignored.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xXiSEDUlIyEyoIT&open=AZq77xXiSEDUlIyEyoIT&pullRequest=66

Check failure on line 605 in pkg/github/actions_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this error explicitly or document why it can be safely ignored.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xTnSEDUlIyEyoII&open=AZq77xTnSEDUlIyEyoII&pullRequest=66

Check warning on line 341 in pkg/github/actions.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the 'Get' prefix from this function name.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xXiSEDUlIyEyoIN&open=AZq77xXiSEDUlIyEyoIN&pullRequest=66

Check failure on line 686 in pkg/github/actions_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this error explicitly or document why it can be safely ignored.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xTnSEDUlIyEyoIJ&open=AZq77xTnSEDUlIyEyoIJ&pullRequest=66

Check failure on line 672 in pkg/github/actions.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this error explicitly or document why it can be safely ignored.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xXiSEDUlIyEyoIS&open=AZq77xXiSEDUlIyEyoIS&pullRequest=66

Check failure on line 131 in pkg/github/actions_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this error explicitly or document why it can be safely ignored.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xTnSEDUlIyEyoIE&open=AZq77xTnSEDUlIyEyoIE&pullRequest=66

Check failure on line 787 in pkg/github/actions_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this error explicitly or document why it can be safely ignored.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xTnSEDUlIyEyoIK&open=AZq77xTnSEDUlIyEyoIK&pullRequest=66

Check failure on line 517 in pkg/github/actions_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this error explicitly or document why it can be safely ignored.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xTnSEDUlIyEyoIH&open=AZq77xTnSEDUlIyEyoIH&pullRequest=66

Check warning on line 552 in pkg/github/actions.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the 'Get' prefix from this function name.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xXiSEDUlIyEyoIP&open=AZq77xXiSEDUlIyEyoIP&pullRequest=66

Check failure on line 389 in pkg/github/actions_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this error explicitly or document why it can be safely ignored.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xTnSEDUlIyEyoIG&open=AZq77xTnSEDUlIyEyoIG&pullRequest=66

Check warning on line 40 in e2e/e2e_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the 'Get' prefix from this function name.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq77xbjSEDUlIyEyoIW&open=AZq77xbjSEDUlIyEyoIW&pullRequest=66

Check warning on line 727 in pkg/github/actions.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the 'Get' prefix from this function name.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZq79LzN1cYCQa-_HZcJ&open=AZq79LzN1cYCQa-_HZcJ&pullRequest=66