CI: Fix eslint checkout step to use pull request head SHA and repository
| @@ -30,7 +30,8 @@ jobs: | |||
| 30 | # https://github.com/marketplace/actions/checkout | 30 | # https://github.com/marketplace/actions/checkout |
| 31 | uses: actions/checkout@v4.2.2 | 31 | uses: actions/checkout@v4.2.2 |
| 32 | with: | 32 | with: |
| 33 | ref: ${{ github.head_ref }} | 33 | ref: ${{ github.event.pull_request.head.sha }} |
| 34 | repository: ${{ github.event.pull_request.head.repo.full_name }} | ||
| 34 | 35 | ||
| 35 | - name: Setup Node.js | 36 | - name: Setup Node.js |
| 36 | # Setup Node.js environment | 37 | # Setup Node.js environment |