Skip to content

Update Compatibility Matrices #38

Update Compatibility Matrices

Update Compatibility Matrices #38

name: Update Compatibility Matrices
on:
schedule:
- cron: "0 12 * * *"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
env:
MISE_LOCKED: "1"
jobs:
update:
name: Update compatibility matrices
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install tools
uses: jdx/mise-action@v4
with:
version: 2026.4.27
cache: true
cache_key_prefix: mise-compatibility-matrices
- name: Generate compatibility matrices
run: mise //:generate:compat
- name: Open pull request for changes
id: cpr
uses: peter-evans/create-pull-request@v8
with:
branch: chore/update-compatibility-matrices
delete-branch: true
title: "chore: update compatibility matrices"
commit-message: "chore: update compatibility matrices"
body: |
Regenerates CUDA, PyTorch, and TensorFlow compatibility matrices from the scheduled compatibility generator.
Generated by `.github/workflows/update-compatibility-matrices.yaml`.
add-paths: |
pkg/config/cuda_compatibility.json
pkg/config/torch_compatibility.json
pkg/config/tf_compatibility.json
- name: Report result
env:
PR_NUMBER: ${{ steps.cpr.outputs.pull-request-number }}
run: |
if [ -n "$PR_NUMBER" ]; then
echo "Opened or updated PR #$PR_NUMBER"
else
echo "No compatibility matrix changes detected."
fi