Skip to content

Commit a9690c7

Browse files
authored
fixing pipeline
1 parent 2f0db2e commit a9690c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/validate_and_fix_notebook.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ jobs:
5252
5353
- name: Commit changes
5454
run: |
55+
git fetch origin
56+
git checkout -b ${{ github.event.pull_request.head.ref }} origin/${{ github.event.pull_request.head.ref }}
5557
git add -A
5658
git commit -m "Fix notebook format issues" || echo "No changes to commit"
59+
git pull --rebase origin ${{ github.event.pull_request.head.ref }} || echo "No rebase needed"
5760
git push origin HEAD:${{ github.event.pull_request.head.ref }}

0 commit comments

Comments
 (0)