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

Closed
opened 2026-06-17 21:39:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sdras/awesome-actions/pull/416
Author: @rlespinasse
Created: 5/5/2020
Status: Merged
Merged: 8/27/2020
Merged by: @sdras

Base: masterHead: git-commit-info-action


📝 Commits (1)

  • 525b73f Add 'git-commit-data-action' action

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

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 }}"

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/sdras/awesome-actions/pull/416 **Author:** [@rlespinasse](https://github.com/rlespinasse) **Created:** 5/5/2020 **Status:** ✅ Merged **Merged:** 8/27/2020 **Merged by:** [@sdras](https://github.com/sdras) **Base:** `master` ← **Head:** `git-commit-info-action` --- ### 📝 Commits (1) - [`525b73f`](https://github.com/sdras/awesome-actions/commit/525b73fe952d2fbf14254733b578b53da737bedf) Add 'git-commit-data-action' action ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description 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 }}" ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-17 21:39:13 -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#12170