Skip to content

Check the dependencies for major version updates in azure-ai-ml #39

Check the dependencies for major version updates in azure-ai-ml

Check the dependencies for major version updates in azure-ai-ml #39

name: Check the dependencies for major version updates in azure-ai-ml
# This workflow checks for major version updates in the azure-ai-ml package
on:
schedule:
- cron: "0 0,12 * * *" # Runs at 00:00 and 12:00 UTC
workflow_dispatch: # Optional manual trigger
permissions:
issues: write # to create the Issues using API
jobs:
check-dependencies:
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.11
- name: Install Dependencies
run: pip install packaging==25.0 requests==2.32.4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install packaging==25.0 requests==2.32.4
- name: Run major dependency update check
run: python sdk/ml/azure-ai-ml/scripts/major_updates.py
- name: Create GitHub issues for major updates
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python sdk/ml/azure-ai-ml/scripts/create_issue.py