Skip to content

Commit

Permalink
stop synchronization between 2.5 and 2.6 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcoutadeur committed Oct 29, 2021
1 parent 78bdc95 commit f6825fd
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Sync Back to master and openldap26
name: Sync Back to master

on:
push:
branches:
- openldap25
- openldap26

jobs:
sync-branches:
Expand All @@ -12,22 +12,15 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
ref: openldap25
ref: openldap26
- run: |
git fetch --unshallow
git pull origin openldap25
git pull origin openldap26
git config user.email "[email protected]"
git config user.name "GitHub Actions"
- name: sync master
run: |
git checkout master
git pull --rebase
git merge openldap25 --ff-only
git merge openldap26 --ff-only
git push
- name: sync openldap26
run: |
git checkout openldap26
git pull --rebase
git merge openldap25 --ff-only
git push

0 comments on commit f6825fd

Please sign in to comment.