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

Don't notify codeowners when only weight files or Cargo.toml are changed #1044

Merged
merged 5 commits into from
Jul 21, 2023

Conversation

sea212
Copy link
Member

@sea212 sea212 commented Jul 17, 2023

What does it do?

Codeowners are not notified if only the weight files and/or Cargo.toml file are changed.

What important points should reviewers know?

The codeowners file is parsed backwards and stops on the first result. If a rule excludes codeowners (by not specifying any code owners after a path), the parsing stops for that file.

Is there something left for follow-up PRs?

What alternative implementations were considered?

Are there relevant PRs or issues?

References

@sea212 sea212 added the s:in-progress The pull requests is currently being worked on label Jul 17, 2023
@sea212 sea212 self-assigned this Jul 17, 2023
@sea212 sea212 added s:review-needed The pull request requires reviews and removed s:in-progress The pull requests is currently being worked on labels Jul 18, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #1044 (4d5c000) into main (257932c) will decrease coverage by 1.56%.
The diff coverage is n/a.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main    #1044      +/-   ##
==========================================
- Coverage   94.49%   92.94%   -1.56%     
==========================================
  Files          92       92              
  Lines       21072    21589     +517     
==========================================
+ Hits        19913    20065     +152     
- Misses       1159     1524     +365     
Flag Coverage Δ
tests 92.94% <ø> (-1.56%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 21 files with indirect coverage changes

@sea212
Copy link
Member Author

sea212 commented Jul 18, 2023

@Mergifyio refresh

@mergify
Copy link
Contributor

mergify bot commented Jul 18, 2023

refresh

✅ Pull request refreshed

CODEOWNERS Outdated Show resolved Hide resolved
CODEOWNERS Outdated Show resolved Hide resolved
CODEOWNERS Show resolved Hide resolved
Co-authored-by: Chralt <chralt.developer@gmail.com>
@sea212 sea212 added s:in-progress The pull requests is currently being worked on and removed s:review-needed The pull request requires reviews labels Jul 21, 2023
Co-authored-by: Chralt <chralt.developer@gmail.com>
@sea212 sea212 added s:review-needed The pull request requires reviews and removed s:in-progress The pull requests is currently being worked on labels Jul 21, 2023
@sea212 sea212 requested a review from Chralt98 July 21, 2023 08:39
@sea212 sea212 added s:accepted This pull request is ready for merge and removed s:review-needed The pull request requires reviews labels Jul 21, 2023
@sea212 sea212 merged commit 3d4ebe5 into main Jul 21, 2023
21 checks passed
@sea212 sea212 deleted the sea212-constrain-codeowners-triggers branch July 21, 2023 08:52
@sea212 sea212 added this to the v0.3.10 milestone Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s:accepted This pull request is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants