Skip to content

Commit

Permalink
Fix github actions for updating arlington and jakarta branches
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed May 22, 2024
1 parent 54edbfd commit 437cb12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-arlington-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
git config user.name "Git User"
git config user.email "[email protected]"
- name: Add commit to the test branch
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }}
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }} --empty=drop
- name: Build project with Maven
if: success()
run: mvn --batch-mode --update-snapshots verify
Expand All @@ -79,7 +79,7 @@ jobs:
git config user.name "Git User"
git config user.email "[email protected]"
- name: Add commit to new branch
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }}
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }} --empty=drop
- name: Merge branch into arlington
if: success()
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-jakarta-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
git config user.name "Git User"
git config user.email "[email protected]"
- name: Add commit to the test branch
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }}
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }} --empty=drop
- name: Build project with Maven
if: success()
run: mvn --batch-mode --update-snapshots verify
Expand All @@ -63,7 +63,7 @@ jobs:
git config user.name "Git User"
git config user.email "[email protected]"
- name: Add commit to new branch
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }}
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }} --empty=drop
- name: Merge branch into jakarta
if: success()
run: |
Expand Down

0 comments on commit 437cb12

Please sign in to comment.