We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e84afe commit f2f8caaCopy full SHA for f2f8caa
.github/workflows/sync-main-branch.yml
@@ -0,0 +1,26 @@
1
+# Synchronize all pushes to 'master' branch with 'main' branch to facilitate migration
2
+name: "Sync main branch"
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+
8
+jobs:
9
+ sync_latest_from_upstream:
10
+ runs-on: ubuntu-latest
11
+ name: Sync latest commits from master branch
12
13
+ steps:
14
+ - name: Checkout target repo
15
+ uses: actions/checkout@v2
16
+ with:
17
+ ref: main
18
19
+ - name: Sync upstream changes
20
+ id: sync
21
+ uses: aormsby/[email protected]
22
23
+ target_sync_branch: main
24
+ target_repo_token: ${{ secrets.GITHUB_TOKEN }}
25
+ upstream_sync_branch: master
26
+ upstream_sync_repo: elastic/elasticsearch-hadoop
0 commit comments