Add workflow for nightly pull from upstream

This commit is contained in:
Charles Hofer 2024-10-31 10:20:23 -05:00
parent 242e6634ff
commit 692e225657

View File

@ -0,0 +1,18 @@
# Pulls the latest changes from upstream into main and opens a PR to merge
# them into rocm-main.
name: ROCm Nightly Upstream Sync
on:
schedule:
- cron: '0 6 * * *'
jobs:
sync-main:
runs-on: ubuntu-latest
steps:
- run: gh repo sync rocm/jax -b main
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
open-sync-pr:
runs-on: ubuntu-latest
steps:
- run: gh pr create --repo rocm/jax --head main --base rocm-main --title "CI: $(date +%x) upstream sync" --body "Daily sync with upstream"