{{author}} ruby condition with group and project access tokens

Hi,

I have a number of rules that exclude activity from bot accounts. E.g. a simple one is

      - name: mark unrefined merge requests as draft
        conditions:
          state: opened
          draft: false
          labels:
            - workflow::refinement
          ruby: |
            author != "XXX-bot" \
              && author != "YYY-bot"
        actions:
          comment: |
            /draft

This works fine when the bot account is an actual gitlab user account in the classic sense, but if it is a GAT or PrAT then author isn't as straight forward, e.g. @group_NNNNNNN_bot_FEFEFEFEFEFEFEFE.

As the bot username is regenerated whenever the token is expired, pending gitlab-org/gitlab#241523 (closed), is there a way to compare against the display name / friendly name instead? Otherwise we have to update the rules whenever we rotate the token 😞

Thanks!