diff --git a/.mockery.yaml b/.mockery.yaml index 4cffec64..57b564a9 100644 --- a/.mockery.yaml +++ b/.mockery.yaml @@ -14,4 +14,8 @@ packages: all: true github.com/actions/actions-runner-controller/controllers/actions.github.com: config: - all: true + all: false + include-interface-regex: ".*" + # deepCopyObject is a generic type constraint, not a collaborator, so it + # must not be mocked. + exclude-interface-regex: "^deepCopyObject$"