Skip to content

Commit 8c2bcc4

Browse files
committed
Exclude gosec G118 rule from client-scan CI
G118 (context cancellation not called) was added in gosec v2.24.0 (Feb 27, 2026) and produces false positives for cancel functions that are called in goroutines or stored for deferred invocation. The CI uses gosec@master which pulled in this new rule automatically.
1 parent fedd235 commit 8c2bcc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/client.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ jobs:
245245
- uses: securego/gosec@master
246246
with:
247247
args: |
248-
-exclude=G115
248+
-exclude=G115,G118
249249
-exclude-dir=pkg/chain/ethereum/beacon/gen
250250
-exclude-dir=pkg/chain/ethereum/ecdsa/gen
251251
-exclude-dir=pkg/chain/ethereum/threshold/gen

0 commit comments

Comments
 (0)