Skip to content

Commit 30a5c72

Browse files
committed
Speed up post review comment workflow (#3047)
1 parent 416766b commit 30a5c72

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/preview_comment.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ jobs:
2222

2323
steps:
2424
- uses: actions/checkout@v4
25-
with:
26-
fetch-depth: 0
25+
26+
- name: Fetch base branch for comparison
27+
run: git fetch origin ${{ github.base_ref }} --depth=1
2728

2829
- name: Create comment for changed files
2930
run: |

0 commit comments

Comments
 (0)