Skip to content

Conversation

MarijnS95
Copy link
Contributor

With the workflow being to create a fork in order to contribute to this project, this fork shouldn't automatically run scheduled linting jobs on the main branch (wherever that happened to be when the fork was cloned/created) and bothering the fork-er with it if it's non-compliant.

Note: I'd love to have this if in the on: configuration to not even add Weekly CI to the GH actions overview (with 2 skipped jobs), but this does not seem possible according to https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions. Suggestions welcome!

With the workflow being to create a fork in order to contribute to this
project, this fork shouldn't automatically run scheduled linting jobs on
the main branch (wherever that happened to be when the fork was
cloned/created) and bothering the fork-er with it if it's non-compliant.
@Swatinem Swatinem enabled auto-merge (squash) February 21, 2022 08:47
@Swatinem Swatinem merged commit 2f67b12 into getsentry:master Feb 21, 2022
@MarijnS95 MarijnS95 deleted the ci-schedule branch February 21, 2022 08:57
MarijnS95 added a commit to MarijnS95/sentry-rust that referenced this pull request Jan 16, 2023
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 pushed a commit that referenced this pull request Jan 16, 2023
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).

[unnecessary spam from steps that are not supposed to succeed anyway]: https://github.com/MarijnS95/sentry-rust/actions/runs/3926205216
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