From 92e9630334e1784136c977f6292f7abd96aaa773 Mon Sep 17 00:00:00 2001 From: phoenix <85183285+PhoenixOrigin@users.noreply.github.com> Date: Sat, 27 Jan 2024 10:30:27 +0000 Subject: [PATCH] Update github-id.yml --- .github/workflows/github-id.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/github-id.yml b/.github/workflows/github-id.yml index c4971afde..78a59e786 100644 --- a/.github/workflows/github-id.yml +++ b/.github/workflows/github-id.yml @@ -14,6 +14,9 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} + repository: ${{ github.event.pull_request.head.repo.full_name }} + ref: ${{ github.head_ref }} + - name: Get changed files id: files @@ -33,3 +36,4 @@ jobs: commit_user_email: "actions@github.com" commit_message: "chore: add github user id" skip_checkout: true +