mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 15:35:12 +00:00
ci: use refs/pull/*/merge to get head (#12508)
This commit is contained in:
parent
ea1a2dc8db
commit
c41d03018c
1 changed files with 1 additions and 4 deletions
5
.github/workflows/get-api-diff.yml
vendored
5
.github/workflows/get-api-diff.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue