From ead05934a081ba4d603a697bd03618095884fcef Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Wed, 16 Apr 2025 21:44:21 +0300 Subject: [PATCH] CI: Fix eslint checkout step to use pull request head SHA and repository --- .github/workflows/pr-auto-manager.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-auto-manager.yml b/.github/workflows/pr-auto-manager.yml index 6ed8a6f2f..0da34a6e2 100644 --- a/.github/workflows/pr-auto-manager.yml +++ b/.github/workflows/pr-auto-manager.yml @@ -30,7 +30,8 @@ jobs: # https://github.com/marketplace/actions/checkout uses: actions/checkout@v4.2.2 with: - ref: ${{ github.head_ref }} + ref: ${{ github.event.pull_request.head.sha }} + repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Setup Node.js # Setup Node.js environment