diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/format.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 58fa8fca5..f2c783d65 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -18,6 +18,8 @@ jobs: uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} + repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} + ref: ${{ github.event.pull_request.head.sha || github.sha }} - name: Setup Bun uses: ./.github/actions/setup-bun @@ -27,5 +29,3 @@ jobs: ./script/format.ts env: CI: true - GITHUB_HEAD_REF: ${{ github.head_ref }} - GITHUB_REF_NAME: ${{ github.ref_name }} |
