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

Feat: Add ignored statuses #402

Merged
merged 3 commits into from
Feb 16, 2024
Merged

Feat: Add ignored statuses #402

merged 3 commits into from
Feb 16, 2024

Conversation

mlahargou
Copy link
Member

We previously could only set requiredStatuses. This is great if all ci checks run
on every PR. We want to conditionally run different workflows on different PRs, so
we can't make certain statuses requried.

Instead, let's create a new ignoredStatuses that the user can set so that pulldasher
ignores those even if they are failing.

QA:

We should verify that ignored statuses don't affect the ci blocked PRs. You can modify
/mnt/ebs/etc/pulldasher-dev.config.js and update pulldasher dev to make sure the
correct pulls are in (or out) of the CI Blocked column on pulldasher-dev.cominor.com.

Connects: https://github.com/iFixit/ifixit/issues/52034

cc @danielbeardsley

This makes the requiredStatuses field optional and adds a new field
ignoredStatuses. This allows for more flexibility in the configuration
of the ignored/required statuses for a repository.
Previously, if requiredStatuses was not set, all statuses were required.
Now, if ignoredStatuses is set, statuses in that list are not required.
@mlahargou mlahargou added the QAE Quality Assurance Engineering label Feb 16, 2024
@mlahargou mlahargou self-assigned this Feb 16, 2024
Copy link
Member

@danielbeardsley danielbeardsley left a comment

Choose a reason for hiding this comment

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

CR 👍

Nice!

@deltuh-vee deltuh-vee self-assigned this Feb 16, 2024
@deltuh-vee
Copy link
Contributor

QA 🎬
PRs that are failing with checks in ignoredStatuses are no longer CI blocked.

@deltuh-vee deltuh-vee merged commit d7cf650 into master Feb 16, 2024
1 check passed
@deltuh-vee deltuh-vee deleted the feat--add-ignoredStatuses branch February 16, 2024 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QAE Quality Assurance Engineering
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants