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 +