Skip to content

Action to add the last commit message in the profile readme

Notifications You must be signed in to change notification settings

estarossa0/readme-last-commit

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

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme latest commit

This action update a section of your README.md with a picture containing details about the latest commit you've made.

Example:

Instruction 📖

1. Add to your README.md file two lines that indicate where to put the commit picture:

<!-- LATESTCOMMIT:START -->
<!-- LATESTCOMMIT:END -->
> (Anything between those two lines will be deleted and replaced with the commit picture)

2. Create a workflow file

In your repository create the following file: .github/workflows/last-commit.yml

name: Latest commit message made by user
on:
schedule:
# Runs every hour
- cron: '0 * * * *'

workflow_dispatch:

jobs:

update-readme-with-last-commit:

name: Update this repo's README with latest commit made

runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v2

- uses: estarossa0/readme-last-commit@master

The action above runs every hours, you can change it as you like by changing - cron using cron syntax.

💡 The action only check for your public commits, no private commits will be displayed.


_Inspired by jamesgeorge007/github-activity-readme
_motivated by codeSTACKr youtube video about GitHub readme

About

Action to add the last commit message in the profile readme

Resources

Stars

Watchers

Forks

Packages

No packages published