Closed Uzlopak closed 6 months ago
There should be both fields: https://docs.github.com/en/webhooks/webhook-events-and-payloads#pull_request
I believe I understand the issue, taking https://github.com/fastify/point-of-view/pull/408 as an example, the filtered pull_request payload is:
But 408 is merging from mweberxyz/point-of-view fork into fastify/point-of-view, so the second actions/checkout@v4
should use the base instead -- so that the benchmarks run from fastify/pov#master
, instead of mweberxyz/pov#master
@Uzlopak is that the gist of it?
@mweberxyz
I think your assessment is right.
Prerequisites
Issue
It seems that github.event.pull_request.head.repo.full_name is potentially incorrect. maybe it has to be github.event.pull_request.base.repo.full_name.