π OpenHands: AI-Driven Development
Fix issue #5080: [Bug]: lint-fix.yml github action doesn't work on a branch not from this repo (#5081)
OpenHandsf7652bd55889
diff --git a/.github/workflows/lint-fix.yml b/.github/workflows/lint-fix.ymlindex 78fdef9afc..e3021b887c 100644--- a/.github/workflows/lint-fix.yml+++ b/.github/workflows/lint-fix.yml@@ -16,6 +16,7 @@ jobs:- uses: actions/checkout@v4with:ref: ${{ github.head_ref }}+ repository: ${{ github.event.pull_request.head.repo.full_name }}fetch-depth: 0token: ${{ secrets.GITHUB_TOKEN }}