Skip to content

Commit

Permalink
Workflow to automatically update the README
Browse files Browse the repository at this point in the history
  • Loading branch information
sunilbpandey committed Dec 27, 2023
1 parent f1b76ad commit d149377
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Update README
on:
push:
branches:
- main
permissions:
contents: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Update README
run: python3 scripts/update_readme.py
- name: Push changes
run: |
git config user.name "Sunil Pandey"
git config user.email "64631561+sunilbpandey@users.noreply.github.com"
git add README.md
git commit -m "Update README.md"
git push

0 comments on commit d149377

Please sign in to comment.