Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Update GSoC README
on:
schedule:
- cron: '0 9 * * 1'
workflow_dispatch:

jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'

- name: Install dependencies
run: pip install -r requirements.txt

- name: Update README
run: python gsoc_readme.py

- name: Commit and push changes
run: |
git config --local user.email "imranbtk201@gmail.com"
git config --local user.name "Imranch4"
git add README.md gsoc_*.json
git diff --quiet && git diff --staged --quiet || git commit -m "Auto-update GSoC organizations"
git push
Loading