We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d2c741 commit 89ab69cCopy full SHA for 89ab69c
1 file changed
.github/workflows/synchronize-repo.yml
@@ -0,0 +1,33 @@
1
+name: Synchronize to forked repo
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - release
7
8
+jobs:
9
+ sync:
10
+ name: Sync forked repo
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout release
15
+ uses: actions/checkout@v4
16
+ with:
17
+ token: ${{ secrets.FORKED_REPO_TOKEN }}
18
+ fetch-depth: 0
19
+ ref: release
20
21
+ - name: Add remote-url
22
+ run: |
23
+ git remote add forked-repo https://AAminha:${{ secrets.FORKED_REPO_TOKEN }}@github.com/AAminha/Neighbors-dev-Frontend
24
+ git config user.name AAminha
25
+ git config user.email dks4857@gmail.com
26
27
+ - name: Push changes to forked-repo
28
29
+ git push -f forked-repo release
30
31
+ - name: Clean up
32
33
+ git remote remove forked-repo
0 commit comments