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

Fix issue #5080: [Bug]: lint-fix.yml github action doesn't work on a branch not from this repo (#5081)

OpenHands 1 год назад
Родитель
Сommit
f7652bd558
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      .github/workflows/lint-fix.yml

+ 1 - 0
.github/workflows/lint-fix.yml

@@ -16,6 +16,7 @@ jobs:
       - uses: actions/checkout@v4
         with:
           ref: ${{ github.head_ref }}
+          repository: ${{ github.event.pull_request.head.repo.full_name }}
           fetch-depth: 0
           token: ${{ secrets.GITHUB_TOKEN }}