Skip to content

Commit da3deec

Browse files
committed
chore: Remove stale paramcheck allowlist entries
`ActionsVariable` and `DependabotEncryptedSecret` are no longer used as request body types, so their `body-allowed-pointer-types` exceptions (whose header says "TODO: fix and remove these exceptions") are dead. Verified that `custom-gcl` reports no `paramcheck` findings with each entry removed individually, confirming nothing still passes them as a request body. Updates google#3644
1 parent c4176b1 commit da3deec

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎.golangci.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ linters:
203203
# Body type names exempt from the "pass by value, not by pointer" rule.
204204
# TODO: fix and remove these exceptions.
205205
body-allowed-pointer-types:
206-
- ActionsVariable
207206
- AddProjectItemOptions
208207
- AuthorizationRequest
209208
- CodeScanningAlertState
@@ -218,7 +217,6 @@ linters:
218217
- CustomDeploymentProtectionRuleRequest
219218
- CustomProperty
220219
- DependabotAlertState
221-
- DependabotEncryptedSecret
222220
- DependencyGraphSnapshot
223221
- EncryptedSecret
224222
- EnterpriseSecurityAnalysisSettings

0 commit comments

Comments
 (0)