o-kasian/GitHub Script

Run OpenAI GPT model to fix sonarqube findings

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Mar 1, 2024
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: o-kasian/openai-sonarqube-action@5b9d658f7ee0f50ca2f82897a727322059e4b8c0 # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
sonar-tokenSonarQube token to fetch infromationyes
sonar-project-keyPrject key in sonarqube, if not specified explicitly will look for sonar-project.properties, or use ${owner}_${repo} if not foundyes
sonar-branchBranch name in sonarqube to fetch information from, by default will use current branchno
sonar-urlAPI url of sonarqube instance, by default Sonar Cloudnohttps://sonarcloud.io/api/
sonar-queryYaml containing additional parameters supported by api/issues/search https://next.sonarqube.com/sonarqube/web_api/api/issues/searchno
sonar-exclude-filesComa-separated list of GLOB patterns for sources to be excluded from autofixno
sonar-exclude-rulesComa-separated list of SonarQube rules to includeno
openai-tokenOpenAI token to use for API callsyes
openai-rate-limitOpenAI API rate limit per minuteno3
openai-urlnohttps://api.openai.com/v1
openai-modelnogpt-3.5-turbo
sources-dirSources directory, defaults to github.workspaceno
output-dirOuptput directory for resulting files, defaults to sources-dirno
namedescription
files-changedThe Number of files changed