deploy only runs on push-to-main or in preview on PRs that change files used in the build (via an explicit paths-ignore config), such as .github/labels.yml.
To make our deploy required but not blocking PRs unrelated to the build, GitHub docs have a suggestion: create a separate workflow that has a job with the same name, triggers on the conditions excluded by the required check, and is effectively a no-op confirming no build necessary.
deploy
only runs on push-to-main or in preview on PRs that change files used in the build (via an explicit paths-ignore config), such as.github/labels.yml
.To make our deploy required but not blocking PRs unrelated to the build, GitHub docs have a suggestion: create a separate workflow that has a job with the same name, triggers on the conditions excluded by the required check, and is effectively a no-op confirming no build necessary.