Skip to content

Commit f2e3950

Browse files
authored
testing pull -> push
1 parent 3f0ab90 commit f2e3950

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/validate_and_fix_markdown.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
git config --global user.email "github-actions[bot]@users.noreply.github.com"
3636
git config --global user.name "github-actions[bot]"
3737
38-
- name: Commit changes
38+
- name: Commit and rebase changes
3939
run: |
40-
git fetch origin
41-
git checkout -b ${{ github.event.pull_request.head.ref }} origin/${{ github.event.pull_request.head.ref }}
40+
git fetch origin ${{ github.event.pull_request.head.ref }}
41+
git checkout ${{ github.event.pull_request.head.ref }}
4242
git add -A
4343
git commit -m "Fix Markdown syntax issues" || echo "No changes to commit"
4444
git pull --rebase origin ${{ github.event.pull_request.head.ref }} || echo "No rebase needed"

0 commit comments

Comments
 (0)