This action update a section of your README.md
with a picture containing details about the latest commit you've made.
Example:
<!-- LATESTCOMMIT:START -->
<!-- LATESTCOMMIT:END -->
> (Anything between those two lines will be deleted and replaced with the commit picture)
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