Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Add fetches that match dev and release branches

Oliver Günther7e36934f0867
diff --git a/.github/workflows/create-merge-from-previous-release-branch-pr.yml b/.github/workflows/create-merge-from-previous-release-branch-pr.yml
index bf8f8f7d069..d31762e7031 100644
--- a/.github/workflows/create-merge-from-previous-release-branch-pr.yml
+++ b/.github/workflows/create-merge-from-previous-release-branch-pr.yml
@@ -71,8 +71,11 @@ jobs:
- name: Resolve bug in git https://stackoverflow.com/a/63879454/96823
run: git repack -d
- - name: Get one commit more to connect the history of dev and release branches
- run: git fetch --deepen 1 origin "$RELEASE_BRANCH" "$PREVIOUS_RELEASE_BRANCH"
+ - name: Get one commit more to connect the history of the release branches
+ run: |
+ git fetch --deepen 1 origin "$RELEASE_BRANCH" "$PREVIOUS_RELEASE_BRANCH"
+ git fetch --deepen 1 origin dev "$RELEAESE_BRANCH"
+ git fetch --deepen 1 origin dev "$PREVIOUS_RELEASE_BRANCH"
- name: Create branch without checkout just to have shorter automatic commit message
run: git branch "$PREVIOUS_RELEASE_BRANCH" origin/"$PREVIOUS_RELEASE_BRANCH"