-
Notifications
You must be signed in to change notification settings - Fork 13
43 lines (37 loc) · 1.29 KB
/
release.yaml
File metadata and controls
43 lines (37 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Release
on:
workflow_dispatch: # Allow manual triggering from the Actions tab
push:
branches:
- main
jobs:
# ===========================================
# Update Develop Branch
# ===========================================
update-develop-branch:
runs-on: ubuntu-latest
steps:
# -------------------------------------------
# Checkout Main
# -------------------------------------------
- name: Checkout Main
uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch all history
ref: main
# -------------------------------------------
# Checkout Develop
# -------------------------------------------
- name: Checkout Develop
uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch all history
ref: dev
- name: Fetch Main Branch
run: git fetch origin main
- name: Merge Main into Develop
run: |
# Configure github actions bot
git config --global user.name "github-actions"
git merge origin/main --no-edit
git push