We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3229b23 commit f42a93aCopy full SHA for f42a93a
1 file changed
.github/workflows/vercel-deploy.yml
@@ -51,11 +51,8 @@ jobs:
51
fi
52
53
- name: Get commit author
54
+ id: commit_author
55
run: |
- AUTHOR=$(git log -1 --pretty=format:'%an <%ae>')
56
- echo "author=$AUTHOR" >> "$GITHUB_OUTPUT"
57
-
58
- - name: Debug Author Output
59
- run: |
60
- echo "Captured Author: ${{ steps.commit_author.outputs.author }}"
61
+ AUTHOR="${{ github.event.head_commit.author.name }} <${{ github.event.head_commit.author.email }}"
+ echo "Commit author from payload: $AUTHOR"
+ echo "author=$AUTHOR" >> "$GITHUB_OUTPUT"
0 commit comments