jenkins-infra / jenkins-maven-cd-action

1 stars 7 forks source link

Option to skip release unless there are some interesting changes #1

Closed jglick closed 3 years ago

jglick commented 3 years ago

Halfway between manual deployment and CD on every commit, would be nice to have an option to do a deployment iff Release Drafter has found at least one entry that is a feature or bug fix or whatever, as opposed to only internal/chore or dependencies changes.

timja commented 3 years ago

Dependencies and internal changes sometimes sometimes require releases though so hard to make this a hard rule

jglick commented 3 years ago

True, so this check should be bypassed if $GITHUB_EVENT_NAME = workflow_dispatch (as opposed to status), so you can include both triggers in your on section and explicitly ask to release a particular Dependabot PR or whatever if it is significant.