Skip to content

print git metadata

print git metadata #23

Workflow file for this run

name: Test Publish to Jamsocket Action
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Get commit metadata
id: commit_info
run: |
echo "Commit Hash: ${{ github.event.pull_request.head.sha }}"
echo "Commit Message: ${{ github.event.head_commit.message }}"
echo "BRANCH_NAME: ${{ github.ref_name }}"
echo "Respository: ${{ github.repository }}"