Skip to content

Python Translation Tracker Sync #42

Python Translation Tracker Sync

Python Translation Tracker Sync #42

name: Python Translation Tracker Sync
on:
schedule:
- cron: '0 0 * * *' # Triggers every day on autopilot
workflow_dispatch: # Enables manual triggering via UI button
jobs:
update-dashboard:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Access Repository Tree
uses: actions/checkout@v4
- name: Provision Python Runtime Env
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: Fetch Pipeline Libraries
run: |
python -m pip install --upgrade pip
pip install -r .tools/requirements.txt
- name: Execute Visual Tracking Engine
run: python .tools/fetch-status-data.py
- name: Deploy Commit Changes Directly
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add README.md .tools/live_graph.png
git diff --quiet && git diff --staged --quiet || (git commit -m "chart: automated update for Python Tamil translation metrics" && git push)