diff options
| author | anatawa12 <anatawa12@icloud.com> | 2023-11-30 01:06:11 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-30 01:06:11 +0900 |
| commit | c41d03018c37b892ee937643b7785ac5b8e52bc9 (patch) | |
| tree | b5a33d039373b62468844012275047924316f0cb /.github | |
| parent | Update the Vitest configuration (#12493) (diff) | |
| download | sharkey-c41d03018c37b892ee937643b7785ac5b8e52bc9.tar.gz sharkey-c41d03018c37b892ee937643b7785ac5b8e52bc9.tar.bz2 sharkey-c41d03018c37b892ee937643b7785ac5b8e52bc9.zip | |
ci: use refs/pull/*/merge to get head (#12508)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/get-api-diff.yml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/.github/workflows/get-api-diff.yml b/.github/workflows/get-api-diff.yml index 281e2058a6..75a458424e 100644 --- a/.github/workflows/get-api-diff.yml +++ b/.github/workflows/get-api-diff.yml @@ -22,16 +22,13 @@ jobs: api-json-name: [api-base.json, api-head.json] include: - api-json-name: api-base.json - repo-name: ${{ github.event.pull_request.base.repo.full_name }} ref: ${{ github.base_ref }} - api-json-name: api-head.json - repo-name: ${{ github.event.pull_request.head.repo.full_name }} - ref: ${{ github.head_ref }} + ref: refs/pull/${{ github.event.number }}/merge steps: - uses: actions/checkout@v4.1.1 with: - repository: ${{ matrix.repo-name }} ref: ${{ matrix.ref }} submodules: true - name: Install pnpm |