mirror of
https://github.com/ROCm/jax.git
synced 2025-04-16 11:56:07 +00:00
Add workflow for nightly pull from upstream
This commit is contained in:
parent
242e6634ff
commit
692e225657
18
.github/workflows/rocm-nightly-upstream-sync.yml
vendored
Normal file
18
.github/workflows/rocm-nightly-upstream-sync.yml
vendored
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user