This project automates updates to your public profile repository AnujYadav-Dev/AnujYadav-Dev
using scripts stored in this repository.
The automation is handled using GitHub Actions, which runs daily and on manual dispatch.
- Workflow runs inside this repo (contains
today.pyand dependencies). - It installs required Python packages from
cache/requirements.txt. - Clones the public repo using your username (
AnujYadav-Dev/AnujYadav-Dev). - Runs
today.pyfrom this repo, which updates the README and SVG files dynamically. - Commits and pushes changes back to the public repo.
To make this automation work, you need to add the following secrets to the this repository (the one containing today.py):
- Go to your repository on GitHub.
- Navigate to Settings > Secrets and variables > Actions.
- Click on New repository secret for each of the following:
ACCESS_TOKEN→ A fine-grained Personal Access Token with the following permissions:- Account permissions:
read:Followers,read:Starring,read:Watching - Repository permissions:
read:Commit statuses,read:Contents,read:Issues,read:Metadata,read:Pull Requests(Select "All repositories")
- Account permissions:
USER_NAME→ Your GitHub username (e.g.,AnujYadav-Dev).BIRTH_DATE→ (Optional) Your birthdate inYYYY-MM-DDformat (e.g.,2006-12-08). If not provided, the profile will show "Age: Not specified".
Profile_README_Brain/
│── .github/
│ └── workflows/
│ └── build.yaml # workflow file
│── cache/
│ └── requirements.txt
│── README.md
│── today.py
- Runs according to Cron Job automatically.
- Can also be triggered manually via Actions → README build → Run workflow.
- Updates the README and SVGs in the public repo.
Based on Andrew6rant/Andrew6rant by Andrew6rant.
MIT License - Feel free to customize and share!