-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: a flag to skip CI #443
Conversation
Codecov Report
@@ Coverage Diff @@
## master #443 +/- ##
==========================================
+ Coverage 79.61% 79.88% +0.26%
==========================================
Files 40 40
Lines 4519 4578 +59
Branches 374 384 +10
==========================================
+ Hits 3598 3657 +59
Misses 920 920
Partials 1 1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this idea, but how do you feel about combining it with your initial idea of skipping all but the last commit if you don't do have CI turned on.
I think if we took this approach, I'd then feel safe turning this setting on by default in our cloud function that runs release-please.
@bcoe OK, so now:
|
🤖 I have created a release \*beep\* \*boop\* --- ## [5.2.0](https://github.com/googleapis/release-please/compare/v5.1.0...v5.2.0) (2020-05-20) ### Features * a flag to skip CI ([#443](https://github.com/googleapis/release-please/issues/443)) ([17e0636](https://github.com/googleapis/release-please/commit/17e063656079c0f76dba7343f58f7595b132d7e3)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please).
Instead of making assumptions such as "let's run / let's not run CI for the first / the last / whatever file", let's just make it configurable. I'm only using this flag in the simple releaser but any other releaser can be upgraded if needed. The default behavior is
skipCi: true
so nothing is changed for other releasers.