Skip to content

Commit 508b231

Browse files
authored
fix(ci): fix release_type check in delivery action (centreon#5315)
1 parent 61ea714 commit 508b231

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/actions/package-delivery/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ runs:
3838
throw new Error(`Stability ${{ inputs.stability }} should not deliver packages`);
3939
}
4040
41-
if ('${{ inputs.stability }}' === 'testing' && ! ['testing', 'hotfix'].includes('${{ inputs.release_type }}')) {
41+
if ('${{ inputs.stability }}' === 'testing' && ! ['release', 'hotfix'].includes('${{ inputs.release_type }}')) {
4242
throw new Error('release_type input must be defined when stability is testing');
4343
}
4444

0 commit comments

Comments
 (0)