Skip to content
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

Don't send Gitter notifications for fork builds #2691

Merged
merged 1 commit into from
Jan 9, 2019

Conversation

ceedubs
Copy link
Contributor

@ceedubs ceedubs commented Jan 9, 2019

At some point I set up Travis CI to build for my fork of Cats. An
unfortunate consequence of this is that pushing to a branch in my fork
triggers a Travis build that then sends a build notification to the Cats
Gitter channel. This is a little annoying and looks bad when I am doing
experimental changes that cause failed builds in my fork. Also it's a
little embarrassing when the 2000+ people in the Cats Gitter channel can
see that I'm breaking stuff.

I've configured an environment variable in the typelevel/cats Travis
build for the Gitter webhook URL. My understanding is that for forks
this environment variable won't be present and Travis will just silently
not send Gitter notifications. Admittedly, I'm not certain that this
will work, but I don't think that it causes any harm to give it a try.

Thank you for contributing to Cats!

This is a kind reminder to run sbt prePR and commit the changed files, if any, before submitting.

At some point I set up Travis CI to build for my fork of Cats. An
unfortunate consequence of this is that pushing to a branch in my fork
triggers a Travis build that then sends a build notification to the Cats
Gitter channel. This is a little annoying and looks bad when I am doing
experimental changes that cause failed builds in my fork. Also it's a
little embarrassing when the 2000+ people in the Cats Gitter channel can
see that I'm breaking stuff.

I've configured an environment variable in the `typelevel/cats` Travis
build for the Gitter webhook URL. My understanding is that for forks
this environment variable won't be present and Travis will just silently
not send Gitter notifications. Admittedly, I'm not certain that this
will work, but I don't think that it causes any harm to give it a try.
@ceedubs
Copy link
Contributor Author

ceedubs commented Jan 9, 2019

cc @barambani, as I just noticed that your fork also submits Gitter notifications :D

Copy link
Contributor

@kailuowang kailuowang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense.

@codecov-io
Copy link

codecov-io commented Jan 9, 2019

Codecov Report

Merging #2691 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2691   +/-   ##
=======================================
  Coverage   95.13%   95.13%           
=======================================
  Files         365      365           
  Lines        6757     6757           
  Branches      286      286           
=======================================
  Hits         6428     6428           
  Misses        329      329

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ee7d356...455e2cd. Read the comment docs.

@ceedubs
Copy link
Contributor Author

ceedubs commented Jan 9, 2019

We've got some approvals; let's give it a spin.

@ceedubs ceedubs merged commit 15dd2f7 into typelevel:master Jan 9, 2019
@ceedubs ceedubs deleted the gitter-notifications branch January 9, 2019 17:26
@kailuowang kailuowang added this to the 1.6 milestone Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants