I am currently setting up the CI pipeline for a relatively new project ( 3 merged PRs ) specifically built to be used with
netlify-functions i.e this project contains an index static HTML page and all
netlify-functions used by another project.
The problem is, the netlify pull request number mismatches with the GitHub pull request number. This has a direct effect on the
wait-for-netlify-action plugin which is being used to generate the preview URL for the deployment made from the pull request.
Currently, the Github pull request number is
9 however on Netlify the number is
See attached screenshot containing the error from the Github CI Job;
Next, see the preview number shown in the netlify dashboard;