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

fix(CI): Make sure the "when unrelated" fake summaries work correctly #10604

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Sep 28, 2023

Before they executed when any file outside the defined scope matched. However that means: When a PR touches PHP and JS, both the real and the fake summaries for node, eslint and phpunit got triggered. Since the fake summary is always green it meant one could merge a PR that in the end had red CI on the non-fake summary.

Now the fake summaries are skipped, if any of the files still matches the pattern, instead of being executed whenever a single file did not match it.

Fix #10600

🏁 Checklist

Before they executed when any file outside the defined scope matched.
However that means: When a PR touches PHP and JS, both the real and
the fake summaries for node, eslint and phpunit got triggered.
Since the fake summary is always green it meant one could merge a PR
that in the end had red CI on the non-fake summary.

Now the fake summaries are skipped, if any of the files still matches
the pattern, instead of being executed whenever a single file did not
match it.

Signed-off-by: Joas Schilling <coding@schilljs.com>
Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

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

Looks fine IMO

@nickvergessen nickvergessen merged commit f279b81 into master Sep 28, 2023
38 checks passed
@nickvergessen nickvergessen deleted the bugfix/noid/fix-unrelated-ci branch September 28, 2023 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug feature: api 🛠️ OCS API for conversations, chats and participants feature: frontend 🖌️ "Web UI" client technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

integration-summary-when-unrelated.yml is ran when it shouldn't be
2 participants