Skip to content

Commit

Permalink
Fix github actions for updating arlington and jakarta branch
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed May 21, 2024
1 parent 8774e9a commit 54edbfd
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 "user@test.com"
- name: Add commit to the test branch
run: git cherry-pick -m 1 ${{ github.sha }}
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }}
- 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 "user@temp.com"
- name: Add commit to new branch
run: git cherry-pick -m 1 ${{ github.sha }}
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }}
- 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 "user@test.com"
- name: Add commit to the test branch
run: git cherry-pick -m 1 ${{ github.sha }}
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }}
- 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 "user@temp.com"
- name: Add commit to new branch
run: git cherry-pick -m 1 ${{ github.sha }}
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }}
- name: Merge branch into jakarta
if: success()
run: |
Expand Down

0 comments on commit 54edbfd

Please sign in to comment.