Skip to content

Scalified/commit-info-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Commit Info GitHub Action

License Release

Overview

A simple GitHub Action to generate commit information in the following JSON format:

{
   "hash": "a1b2c3d4e5f6g7h8i9j0klmnopqrstuvwx123456",
   "commitDate": "2025-08-14 13:45:02 +0300",
   "comment": "Fix: resolve config map replace issue",
   "buildDate": "2025-08-14 14:10:27 +0300"
}

Uses git-commit-info-json script

Usage

- name: Generate commit info
  uses: scalified/commit-info-action@v1
  with:
    file: version.json
    hash: a1b2c3d4

Inputs

Input Description Required Default
file Path to the file where commit info will be saved No ""
hash Git commit hash to generate information for No Latest commit hash

Outputs

Output Description
commit-info Git commit information
short-hash Short version of the Git commit hash (first 7 characters)

Made with ❤️ by Scalified

About

Github Action for generating commit information

Resources

License

Stars

Watchers

Forks

Packages

No packages published