Closed twrichards closed 5 months ago
Closing this since there's no way to avoid running duplicate builds when there is an active pull request - without introducing an additional 'job' to use the gh
CLI and passing an output to the existing CI
job which isn't worth the time/complexity when compared to having to raise a Draft PR when you want to deploy to TEST
.
Prior to https://github.com/guardian/grid/pull/4238 we were running CI on custom runners which cost money, so we were only building once there was a PR, but now we're back using standard runners (i.e. free, since public repo) its useful to have a build for all pushes - however PRs from forks still need to be built and we don't want to build twice for pull_request and push for our internal branches, so added an
if
condition to the overall CI job to hopefully achieve the best of both worlds.Looks to manifest correctly on this branch...