Skip to content

Validate spec contains changesetTemplate if steps are set#407

Merged
mrnugget merged 1 commit into
mainfrom
mrn/check-changsettemplate
Dec 14, 2020
Merged

Validate spec contains changesetTemplate if steps are set#407
mrnugget merged 1 commit into
mainfrom
mrn/check-changsettemplate

Conversation

@mrnugget

Copy link
Copy Markdown
Contributor

This fixes #406 and
#404 by making sure that a
changesetTemplate is defined when steps are set.

(Since we allow using only importChangesets in a campaign spec, we need
to make this conditional on whether steps are set or not)

This fixes #406 and
#404 by making sure that a
`changesetTemplate` is defined when `steps` are set.

(Since we allow using only `importChangesets` in a campaign spec, we need
to make this conditional on whether steps are set or not)
@mrnugget mrnugget requested a review from a team December 14, 2020 14:50
@mrnugget mrnugget merged commit 8c0f438 into main Dec 14, 2020
@mrnugget mrnugget deleted the mrn/check-changsettemplate branch December 14, 2020 14:53
scjohns pushed a commit that referenced this pull request Apr 24, 2023
This fixes #406 and
#404 by making sure that a
`changesetTemplate` is defined when `steps` are set.

(Since we allow using only `importChangesets` in a campaign spec, we need
to make this conditional on whether steps are set or not)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

campaigns validate should require that changesetTemplate be defined

2 participants