Hello,
I am currently using the wait-for-netlify-action within a Github actions CI to generate the deploy preview URL of a relatively new project ( 3 merged PRs ) after which tests are run against the deployed preview.
Expected Behavior
wait-for-netlify-action should generate the URL of the preview deployed from the pull request after the deployed preview returns a 200 status code.
Current Behavior
wait-for-netlify-action is generating a preview URL that mismatches with the netlify preview deploy URL. The pull request number appears to be what breaks the generated URL.
I.e wait-for-netlify-action generates 9 as the pull request number, however, the pull request number on Netlify is 4. This leads to the Url unavailable, retrying error and eventually a timeout error.
The affected repository can be found here.
See attached screenshot.

Hello,
I am currently using the
wait-for-netlify-actionwithin a Github actions CI to generate the deploy preview URL of a relatively new project ( 3 merged PRs ) after which tests are run against the deployed preview.Expected Behavior
wait-for-netlify-actionshould generate the URL of the preview deployed from the pull request after the deployed preview returns a200status code.Current Behavior
wait-for-netlify-actionis generating a preview URL that mismatches with the netlify preview deploy URL. The pull request number appears to be what breaks the generated URL.I.e
wait-for-netlify-actiongenerates9as the pull request number, however, the pull request number on Netlify is4. This leads to theUrl unavailable, retryingerror and eventually atimeouterror.The affected repository can be found here.
See attached screenshot.
