From bbcbc96f8349c0eab68feea9d4d2b4f676accbec Mon Sep 17 00:00:00 2001 From: Tejaswini Chadaga <85581939+tjchadaga@users.noreply.github.com> Date: Mon, 9 Feb 2026 13:29:03 -0800 Subject: [PATCH 1/2] Fix syntax error in saithrift test - switch.py --- test/saithrift/tests/switch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/saithrift/tests/switch.py b/test/saithrift/tests/switch.py index f3bf20a76..9d27dbcbb 100644 --- a/test/saithrift/tests/switch.py +++ b/test/saithrift/tests/switch.py @@ -101,7 +101,7 @@ def switch_init(client): attr = sai_thrift_attribute_t(id=SAI_PORT_ATTR_ADMIN_STATE, value=attr_value) client.sai_thrift_set_port_attribute(port_id, attr) sai_port_list.append(port_id) - elif attribute.id == SAI_SWITCH_ATTR_CREDIT_WD + elif attribute.id == SAI_SWITCH_ATTR_CREDIT_WD: print "Credit Watchdog: " + attribute.value.booldata else: print "unknown switch attribute" From 5e90fc62a36a44ddfe18526285b4fb29e008a126 Mon Sep 17 00:00:00 2001 From: Tejaswini Chadaga <85581939+tjchadaga@users.noreply.github.com> Date: Mon, 9 Feb 2026 14:21:23 -0800 Subject: [PATCH 2/2] Upgrade CodeQL action versions to v3 --- .github/workflows/codeql-analysis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4bfb92e5f..dd3d2184f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -33,12 +33,12 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2.1.29 + uses: github/codeql-action/init@v3 with: config-file: ./.github/codeql/codeql-config.yml languages: ${{ matrix.language }} - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2.1.29 + uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}"