-
Notifications
You must be signed in to change notification settings - Fork 608
103 lines (92 loc) · 3.35 KB
/
advance_upstream_forks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# 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:
schedule:
# Every hour
- cron: "0 * * * *"
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@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
repository: iree-org/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@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
with:
github_token: ${{ secrets.WRITE_ACCESS_TOKEN }}
branch: main
repository: iree-org/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@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
repository: iree-org/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@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
with:
github_token: ${{ secrets.WRITE_ACCESS_TOKEN }}
branch: master
repository: iree-org/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@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
repository: iree-org/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@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
with:
github_token: ${{ secrets.WRITE_ACCESS_TOKEN }}
branch: master
repository: iree-org/iree-tf-fork
advance_stablehlo-fork:
name: "Advance stablehlo-fork"
runs-on: ubuntu-20.04
steps:
- name: Checking out repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
repository: iree-org/stablehlo
ref: main
- name: Pull from upstream
run: |
git remote add upstream https://github.com/openxla/stablehlo.git
git pull --ff-only upstream main
- name: Pushing changes
uses: ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
with:
github_token: ${{ secrets.WRITE_ACCESS_TOKEN }}
branch: main
repository: iree-org/stablehlo