Skip to content

Commit 98fd9fa

Browse files
authored
fix: Update playwright.yml with fetch step (#641)
Adding the fetch step should ensure that all branches are available.
1 parent d91ee19 commit 98fd9fa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/playwright.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ jobs:
5050
fetch-depth: 0
5151
lfs: true
5252

53+
- name: Fetch base branch for PR comparison
54+
if: github.event_name == 'pull_request'
55+
run: git fetch origin ${{ github.base_ref }}:${{ github.base_ref }}
56+
5357
- name: Set BASE_REF
5458
id: set_base_ref
5559
run: |

0 commit comments

Comments
 (0)