Skip to content

Commit

Permalink
fix: use github.actor on publish workflow dispatch (#9324)
Browse files Browse the repository at this point in the history
workflows started by release-please (or manually triggered) didn't work
because `username` output from `configure` step was empty
  • Loading branch information
spypsy authored Oct 22, 2024
1 parent 8d75dd4 commit 5fa660d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-aztec-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 5fa660d

Please sign in to comment.