File: dependency-checker.yml

package info (click to toggle)
python-azure 20260203%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 793,600 kB
  • sloc: python: 6,552,618; ansic: 804; javascript: 287; sh: 204; makefile: 198; xml: 109
file content (37 lines) | stat: -rw-r--r-- 1,135 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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