Skip to content

Commit 905a91e

Browse files
committed
ci(workflows): call the shared merge workflow to sync development to main
1 parent 4d1a248 commit 905a91e

1 file changed

Lines changed: 4 additions & 24 deletions

File tree

.github/workflows/sync-development-to-main.yml

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,7 @@ permissions:
1010

1111
jobs:
1212
merge:
13-
runs-on: ubuntu-latest
14-
15-
steps:
16-
- name: Checkout Repository
17-
uses: actions/checkout@v3
18-
with:
19-
fetch-depth: 0
20-
21-
- name: Set up Git
22-
run: |
23-
git config user.name "github-actions[bot]"
24-
git config user.email "github-actions[bot]@users.noreply.github.com"
25-
26-
- name: Fetch and Checkout Main
27-
run: |
28-
git fetch origin
29-
git checkout main
30-
31-
- name: Merge Development into Main
32-
run: |
33-
git merge --no-ff development -m "Automated merge from development to main"
34-
35-
- name: Push Changes
36-
run: git push origin main
13+
uses: intisy/workflows/.github/workflows/merge.yml@main
14+
with:
15+
source: development
16+
target: main

0 commit comments

Comments
 (0)