Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/qodana-check-duplicatedcode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
tool-cache: false
large-packages: false
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2024.2.3
uses: JetBrains/qodana-action@v2025.1.1
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
with:
# --config points to the DuplicatedCode-only Qodana config
args:
--config,${{ github.workspace }}/qodana-configs/duplicated-code/qodana.yaml
--config,qodana-configs/duplicated-code/qodana.yaml
cache-default-branch-only: true
# pr-mode off means that the whole repo should be checked for duplicate code, instead of just copy/pastes within the PR
pr-mode: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qodana-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
tool-cache: false
large-packages: false
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2024.2.3
uses: JetBrains/qodana-action@v2025.1.1
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ private class AmazonQServerInstance(private val project: Project, private val cs

val node = if (SystemInfo.isWindows) "node.exe" else "node"
val nodePath = getNodeRuntimePath(artifact.resolve(node))
val emptyFile = Files.createTempFile("empty", null).toAbsolutePath().toString()

val cmd = NodeExePatcher.patch(nodePath)
.withParameters(
Expand All @@ -476,6 +477,9 @@ private class AmazonQServerInstance(private val project: Project, private val cs
put("NODE_EXTRA_CA_CERTS", it)
}

put("AWS_CONFIG_FILE", emptyFile)
put("AWS_SHARED_CREDENTIALS_FILE", emptyFile)

// assume default endpoint will pick correct proxy if needed
val qUri = URI(QDefaultServiceConfig.ENDPOINT)
val proxy = JdkProxyProvider.getInstance().proxySelector.select(qUri)
Expand Down
Loading