We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f0ab90 commit f2e3950Copy full SHA for f2e3950
1 file changed
.github/workflows/validate_and_fix_markdown.yml
@@ -35,10 +35,10 @@ jobs:
35
git config --global user.email "github-actions[bot]@users.noreply.github.com"
36
git config --global user.name "github-actions[bot]"
37
38
- - name: Commit changes
+ - name: Commit and rebase changes
39
run: |
40
- git fetch origin
41
- git checkout -b ${{ github.event.pull_request.head.ref }} origin/${{ github.event.pull_request.head.ref }}
+ git fetch origin ${{ github.event.pull_request.head.ref }}
+ git checkout ${{ github.event.pull_request.head.ref }}
42
git add -A
43
git commit -m "Fix Markdown syntax issues" || echo "No changes to commit"
44
git pull --rebase origin ${{ github.event.pull_request.head.ref }} || echo "No rebase needed"
0 commit comments