Skip to content

Commit da3f157

Browse files
committed
ci: improve translation pipelone to be more robust
1 parent 498390a commit da3f157

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/update-docs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ jobs:
7474
echo "committed=true" >> "$GITHUB_OUTPUT"
7575
fi
7676
77+
- name: Rebase translated docs on latest main
78+
if: steps.commit.outputs.committed == 'true'
79+
run: |
80+
git fetch origin main
81+
git rebase origin/main
82+
7783
- name: Create Pull Request
7884
if: steps.commit.outputs.committed == 'true'
7985
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1

0 commit comments

Comments
 (0)