Change bot's name/avatar

Hi,

I have this workflow, using the stale action:

name: "Close stale issues"

on:
  schedule:
    - cron: "30 12 * * *"

jobs:
  stale:
    runs-on: ubuntu-latest
    steps:
      - name: Manage stale issues
        uses: actions/stale@v2.0.0
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          days-before-stale: 30
          days-before-close: 7
          stale-issue-label: "stale"
          stale-issue-message: "This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days"

Which produces comments like this:

Now, is there a way to customize the bot’s name/avatar?
Is it only possible in actual GitHub apps?
Or do I have to create and use a new PAT?

I’ve seen custom names and avatars in bots, I would like to know how is that achieved.

Thanks.

Hi @pdcmoreira,

That bot is associated with the GITHUB_TOKEN that we automatically add to workflow runs.

It’s not possible to change it. You’d need to use another token from a GitHub App or a PAT (to post as yourself).