File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : SonarCloud QA Gate
22
33on :
4- push :
54 pull_request :
5+ push :
6+ branches :
7+ - main
68
79jobs :
810 sonarcloud :
3436 args : >
3537 -Dsonar.host.url=https://sonarcloud.io
3638 -Dsonar.organization=codingworkflow
37- -Dsonar.projectKey=codingworkflow_claude-code-a- api
39+ -Dsonar.projectKey=codingworkflow_claude-code-api
3840
3941 - name : SonarCloud quality gate
4042 uses : SonarSource/sonarqube-quality-gate-action@v1.1.0
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ def ensure_directory_within_base(
136136 resolved_path = resolve_path_within_base (path_value , base_path )
137137 _ensure_within_base (path_value , base_path , resolved_path )
138138 try :
139- os .makedirs (resolved_path , exist_ok = True )
139+ os .makedirs (resolved_path , exist_ok = True ) # codeql[py/path-injection]
140140 except FileExistsError as e :
141141 raise _bad_request (
142142 f"Invalid path: { resolved_path } exists and is not a directory"
You can’t perform that action at this time.
0 commit comments