blob: aa27fc8dba7dc80caba198c6f4b84454041512bf [file] [log] [blame]
# Copyright 2022 The IREE Authors
#
# Licensed under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: Advance Upstream Forks
on:
# TODO(gcmn): Enable cron once this is stable
# schedule:
# - cron: '0 10 * * *'
workflow_dispatch:
jobs:
advance_iree-llvm-fork:
name: "Advance iree-llvm-fork"
runs-on: ubuntu-20.04
steps:
- name: Checking out repository
uses: actions/checkout@v2
with:
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
repository: google/iree-llvm-fork
ref: main
- name: Pull from upstream
run: |
git remote add upstream https://github.com/llvm/llvm-project.git
git pull --ff-only upstream main
- name: Pushing changes
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.WRITE_ACCESS_TOKEN }}
branch: main
repository: google/iree-llvm-fork
advance_iree-mhlo-fork:
name: "Advance iree-mhlo-fork"
runs-on: ubuntu-20.04
steps:
- name: Checking out repository
uses: actions/checkout@v2
with:
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
repository: google/iree-mhlo-fork
ref: master
- name: Pull from upstream
run: |
git remote add upstream https://github.com/tensorflow/mlir-hlo.git
git pull --ff-only upstream master
- name: Pushing changes
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.WRITE_ACCESS_TOKEN }}
branch: master
repository: google/iree-mhlo-fork
advance_iree-tf-fork:
name: "Advance iree-tf-fork"
runs-on: ubuntu-20.04
steps:
- name: Checking out repository
uses: actions/checkout@v2
with:
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
repository: google/iree-tf-fork
ref: master
- name: Pull from upstream
run: |
git remote add upstream https://github.com/tensorflow/tensorflow.git
git pull --ff-only upstream master
- name: Pushing changes
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.WRITE_ACCESS_TOKEN }}
branch: master
repository: google/iree-tf-fork