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

Re-disable scheduled jobs on forks #537

Merged

Conversation

MarijnS95
Copy link
Contributor

I disabled scheduled jobs on forks in #435 to prevent unnecessary spam from steps that are not supposed to succeed anyway, but @Swatinem removed the check in #528 for an undocumented reason. Add it back to not bother forkers with day-to-day issues, while still allowing them to test/see CI results locally on push (to one of a limited set of preconfigured branches).

I disabled scheduled jobs on forks in getsentry#435 to prevent [unnecessary spam
from steps that are not supposed to succeed anyway], but @Swatinem
removed the check in getsentry#528 for an undocumented reason.  Add it back to
not bother forkers with day-to-day issues, while still allowing them to
test/see CI results locally on push (to one of a limited set of
preconfigured branches).

[unnecessary spam from steps that are not supposed to succeed anyway]: https://github.com/MarijnS95/sentry-rust/actions/runs/3926205216
Copy link
Member

@Swatinem Swatinem left a comment

Choose a reason for hiding this comment

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

Thanks for adding these back!
Might be a good idea to add a comment why that check exists, so next time someone comes around cleaning up the actions, they won’t remove these again.

@Swatinem Swatinem merged commit 2d2f934 into getsentry:master Jan 16, 2023
@Swatinem
Copy link
Member

:-D Might have been too overeager merging this.

I think I will do a quick clippy --fix pass and those comments as well.

@MarijnS95
Copy link
Contributor Author

These statements seem rather self-explanatory to me, but sure I can add some comments... if it wasn't ninja-merged before pushing those :)

@MarijnS95 MarijnS95 deleted the redisable-scheduled-jobs-on-forks branch January 16, 2023 11:08
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.

None yet

2 participants