Skip to content

Re-disable scheduled jobs on forks#537

Merged
Swatinem merged 1 commit into
getsentry:masterfrom
MarijnS95:redisable-scheduled-jobs-on-forks
Jan 16, 2023
Merged

Re-disable scheduled jobs on forks#537
Swatinem merged 1 commit into
getsentry:masterfrom
MarijnS95:redisable-scheduled-jobs-on-forks

Conversation

@MarijnS95

Copy link
Copy Markdown
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

@Swatinem Swatinem left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

:-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
Copy Markdown
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.

2 participants