Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 866ee25

Browse files
committed
Another change 5
1 parent 3cb7362 commit 866ee25

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎.github/workflows/pr.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4
1717
- name: Write git diff to temp file
18-
run: git diff ${{ github.base_ref }} --unified=0 *.md translations/*/*.md > ${{ runner.temp }}/diff.md
18+
run: |
19+
git fetch origin ${{ github.base_ref }}
20+
git diff ${{ github.base_ref }} --unified=0 *.md translations/*/*.md \
21+
> ${{ runner.temp }}/diff.md
1922
- uses: DavidAnson/markdownlint-cli2-action@v17
2023
with:
2124
globs: "${{ runner.temp }}/diff.md"

0 commit comments

Comments
 (0)