Update publish.yml to use gh (#15686)

This commit is contained in:
Glenn Jocher 2024-08-20 16:01:41 +08:00 committed by GitHub
parent b63af4cbcc
commit 97db4abb1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 8 deletions

View file

@ -22,7 +22,7 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request_target.head.repo.full_name || github.repository }}
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.head_ref || github.ref }}
fetch-depth: 0