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

temporary R0 rule #36

Merged
merged 2 commits into from
Sep 28, 2023
Merged

temporary R0 rule #36

merged 2 commits into from
Sep 28, 2023

Conversation

the-right-joyce
Copy link
Collaborator

as requested by @chevdor, for making sure that all A1-insubstantial PRs don't get mentioned in the release notes

Copy link
Contributor

@chevdor chevdor left a comment

Choose a reason for hiding this comment

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

LGTM besides the issue in the test.

- name: Fail - R0 missing
filter:
id: [ enforce_r0 ]
labels: [ A1, T9, D2 ]
expected: true
Copy link
Contributor

@chevdor chevdor Sep 28, 2023

Choose a reason for hiding this comment

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

That should be false here since we want your example to fail.
You could also add:

 - name: Pass - R0 when A1
    filter:
      id: [ enforce_r0 ]
    labels: [ A1, T9, D2, R0 ]
    expected: true

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

corrected

@the-right-joyce the-right-joyce merged commit c033d78 into main Sep 28, 2023
3 checks passed
@the-right-joyce the-right-joyce deleted the the-right-joyce-enable-R0-rule branch September 28, 2023 17:38
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