actions-netlify icon indicating copy to clipboard operation
actions-netlify copied to clipboard

add: auto_inactive:false to createDeploymentStatus

Open nojvek opened this issue 2 years ago • 10 comments

Github automatically makes any previous environments stale, if there is a new deployment status. With Netlify, the urls still remain valid even if there is a new status.

In our case, we use netlify for PR builds i.e every commit gets a unique netlify link. The issue is Github UI loses that link when anyone else adds a new commit.

By making auto_inactive: false, the links would preserve and Github's UI would be useful.

image

nojvek avatar Feb 09 '22 01:02 nojvek

fyi @nwtgck ^

nojvek avatar Feb 09 '22 01:02 nojvek

@nojvek Thanks. I have not tried auto_inactive: false yet.

What about clicking the following ✅ and go Netlify? Each commit has ✅. image

nwtgck avatar Feb 09 '22 22:02 nwtgck

That works. Although the deployment that shows at the bottom near the review section goes stale when any new deployment with same environment is made.

This would save 2 clicks, and be less confusing as the deploy link would always be there.

nojvek avatar Feb 17 '22 02:02 nojvek

@nwtgck - any blockers on merging this?

nojvek avatar Mar 05 '22 21:03 nojvek

No blocking. I've not tryied auto_inactive:false yet.

nwtgck avatar Mar 05 '22 23:03 nwtgck

Kind ping on this @nwtgck ^

I know can clone this repo to unblock myself, but would be nice to land this one line change and keep it in orig repo.

nojvek avatar Apr 12 '22 17:04 nojvek

Another kind ping on this @nwtgck plz.

nojvek avatar May 11 '22 02:05 nojvek

Just following up. Anything blocking?

nojvek avatar Jun 04 '22 14:06 nojvek

I apologize for the very long wait. I finally tried this feature on https://github.com/nwtgck/use-actions-netlify/pull/25. But unfortunately, I'm not sure the difference between auto_inactive: false and without it.

image

nwtgck avatar Jun 11 '22 01:06 nwtgck

ping

andersonba avatar Oct 06 '22 19:10 andersonba