From 5fa660d48ecd711a7445fa365ac6b677aeac93bf Mon Sep 17 00:00:00 2001 From: spypsy Date: Tue, 22 Oct 2024 10:26:25 +0100 Subject: [PATCH] fix: use github.actor on publish workflow dispatch (#9324) workflows started by release-please (or manually triggered) didn't work because `username` output from `configure` step was empty --- .github/workflows/publish-aztec-packages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-aztec-packages.yml b/.github/workflows/publish-aztec-packages.yml index 8306eb7f62f..d7650f30933 100644 --- a/.github/workflows/publish-aztec-packages.yml +++ b/.github/workflows/publish-aztec-packages.yml @@ -49,8 +49,8 @@ jobs: BRANCH: "${{ github.ref_name }}" run: | if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then - echo "username=${{ github.event.pull_request.user.login }}" - echo "username=${{ github.event.pull_request.user.login }}" >> $GITHUB_OUTPUT + echo "username=${{ github.actor }}" + echo "username=${{ github.actor }}" >> $GITHUB_OUTPUT else GIT_HASH="${{ github.sha }}" GIT_HASH_LAST8=${GIT_HASH: -8}