github: only include properties that we actually use for performance

This commit is contained in:
Jörg Thalheim 2024-05-02 06:02:00 +02:00 committed by mergify[bot]
parent c8f9d21153
commit 5e37a99685

View file

@ -116,7 +116,7 @@ class GithubBackend(GitBackend):
"secret": self.webhook_secret,
"strict": True,
"token": self.config.token(),
"github_property_whitelist": "*",
"github_property_whitelist": ["github.base.sha", "github.head.sha"],
}
def create_avatar_method(self) -> AvatarBase | None: