GitHub 操作:发布版本的用户

GitHub Actions: user that published a release

鉴于下面的 GitHub Actions 工作流程,我如何获取发布触发该工作流程的发布者的用户名?

name: My Workflow

on:
  release:
    types: [ published ]
jobs:
  my-job:
    runs-on: [ my-runner ]

    steps:
      - name: Checkout repo
        uses: actions/checkout@v2
       
      - name: Get username of publisher
        run: |
          # HOWTO get username of publisher

您正在寻找:

${{ github.event.release.author.login }}

参见: