Commit Summary GitHub Actions Project : Commit-Actions
Streamline your blog post about committing with Commit-Actions

Hey Folks , I am Open Source Enthusiast. I am Learning DevOps so will be writing about my journey | Learning in Public
Introduction
The Commit-Actions package offers an efficient way to summarize commits, providing both a traditional summary and an AI-based overview of the changes. Currently, the code showcases all files and contributors involved in the commit.
Project Workings
Applying this Actions Package In given YAML file below will help to publish a blog on every commit made by User
name: Test
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install Dependencies
run: npm install
- name: Run Custom Action
id: auto-blog-publish-action
uses: karmpatel960/auto-blog-publish-action@v9
with:
HASHNODE_API_KEY: ${{ secrets.HASHNODE_API_KEY }}
HASHNODE_BLOG_ID: ${{ secrets.HASHNODE_BLOG_ID }}
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
In this, it will trigger the workflow before we require the secret stored in GitHub
| Requirement | Description | Where to Obtain the Value |
HASHNODE_API_KEY | Hashnode API key for authentication when publishing the blog post. | Obtain it from your Hashnode account. |
HASHNODE_BLOG_ID | Hashnode Blog ID where the post will be published. | It can be obtain from hashnode dashboard link |
REPO_TOKEN | GitHub repository token for authenticating API requests to fetch Git information. | Generate a personal access token in GitHub settings. |
OPENAI_API_KEY | OpenAI API key | Obtain it from your OpenAI account |
AI Summary of changes
Enhance your commit summaries with an AI-generated overview of all changes made in the repository. To apply this, add a new release in v10 by changing the label, enabling the incorporation of an AI-based summary of commits.
Repository Link: https://github.com/Karmpatel960/auto-blog-publish-action/tree/v9
Contributors
-
Thank you :) Explore the power of Commit-Actions to streamline your blog post process, providing a comprehensive and insightful view of your commits effortlessly.



