Skip to content

Commit 51db6d2

Browse files
committed
ci: Robustify DevIndex Updater with git pull --rebase (#9124)
1 parent 73003b1 commit 51db6d2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/devindex-updater.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ jobs:
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434

35+
- name: Pull latest changes
36+
run: |
37+
git config --global user.name "github-actions[bot]"
38+
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
39+
git pull origin dev --rebase
40+
3541
- name: Commit and Push Changes
3642
uses: stefanzweifel/git-auto-commit-action@v5
3743
with:

0 commit comments

Comments
 (0)