[XPU] Add periodic run for xpu worklfow (#156698)

Enable XPU periodic testing in xpu.yml workflow directly. It works for https://github.com/pytorch/pytorch/issues/114850.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/156698
Approved by: https://github.com/atalman, https://github.com/huydhn
This commit is contained in:
Wang, Chuanqi
2025-06-25 05:57:52 +00:00
committed by PyTorch MergeBot
parent 194c221e0a
commit 4237ee3c33

View File

@ -5,6 +5,10 @@ on:
tags:
- ciflow/xpu/*
workflow_dispatch:
schedule:
# Run 3 times on weekdays and less frequently on weekends.
- cron: 45 0,8,16 * * 1-5
- cron: 45 4 * * 0,6
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}