We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7880192 commit edac3fdCopy full SHA for edac3fd
.github/workflows/sync_release.yml
@@ -0,0 +1,31 @@
1
+name: Update Test Branch
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
7
+permissions: write-all
8
9
+jobs:
10
+ sync:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v3
15
+ with:
16
+ fetch-depth: 0
17
18
+ - name: Setup Git User
19
+ run: |
20
+ git config user.name "GitHub Action"
21
+ git config user.email "<EMAIL>"
22
23
+ - name: Update Test Branch
24
25
+ git checkout main
26
+ git fetch origin
27
+ git checkout release
28
+ git pull
29
+ git rebase origin/main
30
+ git push origin release --force
31
0 commit comments