forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (30 loc) · 1.11 KB
/
dependency-checker.yml
File metadata and controls
37 lines (30 loc) · 1.11 KB
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