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 0e08ae1 commit 73cbecbCopy full SHA for 73cbecb
.github/workflows/auto-sync.yml
@@ -0,0 +1,26 @@
1
+name: Auto Sync with Main Repo
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ sync:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout Target Repository
14
+ uses: actions/checkout@v2
15
+ with:
16
+ repository: gihanrangana/quicksnip
17
+ ref: main
18
+ token: ${{ secrets.GITHUB_TOKEN }}
19
20
+ - name: Sync with Main Repository
21
+ run: |
22
+ git remote add upstream https://github.com/gihanrangana/quicksnip.git
23
+ git fetch upstream
24
+ git checkout main
25
+ git merge upstream/main
26
+ git push origin main
0 commit comments