juliaturc commited on
Commit
ddd6e87
·
1 Parent(s): 0470638

Update ci.yml: Pull latest changes before committing formatting changes

Browse files
Files changed (1) hide show
  1. .github/workflows/ci.yml +4 -0
.github/workflows/ci.yml CHANGED
@@ -46,6 +46,10 @@ jobs:
46
  run: |
47
  git diff --exit-code || git commit -am "Auto-format code with isort and black"
48
 
 
 
 
 
49
  - name: Push changes
50
  if: success()
51
  run: |
 
46
  run: |
47
  git diff --exit-code || git commit -am "Auto-format code with isort and black"
48
 
49
+ - name: Pull latest changes
50
+ run: |
51
+ git pull --rebase origin ${{ github.event.pull_request.head.ref }}
52
+
53
  - name: Push changes
54
  if: success()
55
  run: |