Skip to content

Commit c657c4f

Browse files
authored
Create sync-upstream gh action
1 parent f2bb6b8 commit c657c4f

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Sync Upstream
2+
# Uses https://github.com/marketplace/actions/sync-and-merge-upstream-repository-with-your-current-repository
3+
4+
on:
5+
schedule:
6+
# 11:30am UTC
7+
- cron: "30 11 * * *"
8+
workflow_dispatch:
9+
10+
jobs:
11+
sync:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
17+
- name: Sync with Upstream Repository
18+
uses: dabreadman/[email protected]
19+
with:
20+
upstream_repo: "https://github.com/Labelbox/labelbox-python.git"
21+
upstream_branch: "develop"
22+
downstream_branch: "develop"
23+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)