Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

Check if PR is still open before deploying preview #36

@thomastvedt

Description

@thomastvedt

Scenario:

  1. a long-running preview build starts
  2. PR is closed, preview is removed (fast, 12 seconds)
  3. long-running preview build deploys a new preview.

We should add a test right before we deploy our preview if PR is still open. We can't use context variables, but can use github API?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions