Skip to content

Add multi-environment MLOps lab for healthcare readmission prediction… #4

Add multi-environment MLOps lab for healthcare readmission prediction…

Add multi-environment MLOps lab for healthcare readmission prediction… #4

name: Update Labs Table
on:
push:
branches: [main]
paths:
- "**/lab.json"
jobs:
update-readme:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Run update script
run: python scripts/update_readme.py
- name: Check for changes
id: changes
run: |
git diff --quiet README.md docs/labs-config.json || echo "changed=true" >> $GITHUB_OUTPUT
- name: Commit and push
if: steps.changes.outputs.changed == 'true'
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add README.md docs/labs-config.json
git commit -m "chore: update labs table and pages config"
git push