However, even though the Netlify links are persistent, these environments seem to expire after a few hours (something between 1 and 5). Note that I don't mean old links after new activity. When the PR is inactive for a few hours, the bot somehow removes the link, AVE the message changes to "temporarily deployed to pull request". There's currently an example here: https://github.com/grammyjs/website/pull/146
Is there any configuration I can use to prevent the bot from removing the links?
If there's no way, I'll just go back to having it comment regular text comments.
I'm using this to build deployment previews for pull requests. I have found that the GitHub Actions bot also puts an environment link on the PR whenever CI runs successfully. I find those links less distracting than having the bot actually comment a regular PR comment with the Netlify link. Hence, this is what I'm using as config: https://github.com/grammyjs/website/blob/b3c08dedba6c2254912866c683621b847aa06084/.github/workflows/deno.yml#L32
However, even though the Netlify links are persistent, these environments seem to expire after a few hours (something between 1 and 5). Note that I don't mean old links after new activity. When the PR is inactive for a few hours, the bot somehow removes the link, AVE the message changes to "temporarily deployed to pull request". There's currently an example here: https://github.com/grammyjs/website/pull/146
Is there any configuration I can use to prevent the bot from removing the links?
If there's no way, I'll just go back to having it comment regular text comments.