#  compliance: Use \`author_association\` where possible \(\#54550\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/cb91c6117ce78b737005903608605f21127561f2)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: cb91c6117ce78b737005903608605f21127561f2

Requested commit: cb91c6117ce78b737005903608605f21127561f2

Commit: cb91c6117ce78b737005903608605f21127561f2

Tree: 11d3ba2f7c48b74cfa85ef74f1a78213173008e4

Author: Finn Evers

Committer: GitHub

## Message

```
 compliance: Use `author_association` where possible (#54550)

This changes some of the checks to use the existing `author_association`
where possible, which will result in no change of effect - this is also
what GitHub uses internally.

The advatage is that it saves us a few requests, especially in the
context of the GitHub worker, and allows us to share code more
efficiently here. It also removes some ugly duplication I wanted to get
rid of for some time and makes the code overall more readable IMO.

Release Notes:

- N/A
```

## Parents

- [582f6a8fd36bb25dcd1d181116326b2852c24c31](https://git.cafe/gitcafe/zed/commit/582f6a8fd36bb25dcd1d181116326b2852c24c31?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/cb91c6117ce78b737005903608605f21127561f2?format=markdown)
