Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
haloivanid committed Nov 28, 2024
1 parent 8cffdfd commit d57afa2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/verify-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,22 @@ jobs:
with:
fetch-depth: 1

- name: Get Commit Details
run: |
# Get full commit details
git log -1 --pretty=fuller
# Get commit email and name
AUTHOR_EMAIL=$(git log -1 --pretty='format:%ae')
AUTHOR_NAME=$(git log -1 --pretty='format:%an')
COMMITTER_EMAIL=$(git log -1 --pretty='format:%ce')
COMMITTER_NAME=$(git log -1 --pretty='format:%cn')
echo "Author Email: $AUTHOR_EMAIL"
echo "Author Name: $AUTHOR_NAME"
echo "Committer Email: $COMMITTER_EMAIL"
echo "Committer Name: $COMMITTER_NAME"
- name: Import GPG key
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit d57afa2

Please sign in to comment.