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

This commit is contained in:
OpenHands
2024-11-16 00:55:41 -05:00
committed by GitHub
parent 2b7932b46c
commit f7652bd558

View File

@@ -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 }}