We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a27e855 commit f2b9a23Copy full SHA for f2b9a23
.github/workflows/main_to_dev_merge.yml
@@ -0,0 +1,21 @@
1
+name: Merge Main to Dev
2
+
3
+on:
4
+ schedule:
5
+ - cron: '0 0 * * *' # Run daily at midnight UTC
6
7
+jobs:
8
+ merge:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v2
14
15
+ - name: Merge Main to Dev
16
+ run: |
17
+ git checkout dev
18
+ git pull origin dev
19
+ git fetch origin main
20
+ git merge origin/main --no-edit
21
+ git push origin dev
0 commit comments