Skip to content

Commit 7b191d5

Browse files
authored
detach head
1 parent 5ef6f0c commit 7b191d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/validate_and_fix_markdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Commit changes
3838
run: |
3939
git fetch origin
40-
git checkout ${{ github.event.pull_request.head.ref }}
40+
git checkout -b ${{ github.event.pull_request.head.ref }} origin/${{ github.event.pull_request.head.ref }}
4141
git add -A
4242
git commit -m "Fix Markdown syntax issues" || echo "No changes to commit"
4343
git pull --rebase origin ${{ github.event.pull_request.head.ref }} || echo "No rebase needed"

0 commit comments

Comments
 (0)