[PR #416] Add 'git-commit-data-action' action #1101

Closed
opened 2026-04-15 04:13:57 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/sdras/awesome-actions/pull/416

State: closed
Merged: Yes


https://github.com/marketplace/actions/git-commit-data

Expose git commit information as environment variables

- name: Expose git commit data
  uses: rlespinasse/git-commit-data-action@v1.x

- name: Print git commit data
  run: |
    echo "Get author info"
    echo " - ${{ env.GIT_COMMIT_AUTHOR }}"
    echo " - ${{ env.GIT_COMMIT_AUTHOR_NAME }}"
    echo " - ${{ env.GIT_COMMIT_AUTHOR_EMAIL }}"
    echo "Get committer info"
    echo " - ${{ env.GIT_COMMIT_COMMITTER }}"
    echo " - ${{ env.GIT_COMMIT_COMMITTER_NAME }}"
    echo " - ${{ env.GIT_COMMIT_COMMITTER_EMAIL }}"
**Original Pull Request:** https://github.com/sdras/awesome-actions/pull/416 **State:** closed **Merged:** Yes --- https://github.com/marketplace/actions/git-commit-data Expose git commit information as environment variables ```yaml - name: Expose git commit data uses: rlespinasse/git-commit-data-action@v1.x - name: Print git commit data run: | echo "Get author info" echo " - ${{ env.GIT_COMMIT_AUTHOR }}" echo " - ${{ env.GIT_COMMIT_AUTHOR_NAME }}" echo " - ${{ env.GIT_COMMIT_AUTHOR_EMAIL }}" echo "Get committer info" echo " - ${{ env.GIT_COMMIT_COMMITTER }}" echo " - ${{ env.GIT_COMMIT_COMMITTER_NAME }}" echo " - ${{ env.GIT_COMMIT_COMMITTER_EMAIL }}" ```
GiteaMirror added the pull-request label 2026-04-15 04:13:57 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-actions#1101