Просмотр исходного кода

Add with to Prettier actions/checkout

Alec Rust 2 лет назад
Родитель
Сommit
2df2bdac09
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      .github/workflows/lint.yml

+ 3 - 0
.github/workflows/lint.yml

@@ -39,6 +39,9 @@ jobs:
     steps:
       - name: Checkout code
         uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
+        with:
+          repository: ${{ github.event.pull_request.head.repo.full_name }}
+          ref: ${{ github.event.pull_request.head.ref }}
 
       - name: Setup Node
         uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4