diff --git a/.github/workflows/autobump.yml b/.github/workflows/autobump.yml index 9896b221ccd..12ac5ca0e0f 100644 --- a/.github/workflows/autobump.yml +++ b/.github/workflows/autobump.yml @@ -139,7 +139,7 @@ jobs: - name: Configure Git user uses: Homebrew/actions/git-user-config@master with: - username: ${{ github.event == 'workflow_dispatch' && github.actor || 'BrewTestBot' }} + username: ${{ (github.event_name == 'workflow_dispatch' && github.actor) || 'BrewTestBot' }} - name: Bump formulae uses: Homebrew/actions/bump-formulae@master