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

[danger] Fix pr author and ignore all CHANGELOG.md files in CODEOWNERS #8197

Conversation

lukmccall
Copy link
Contributor

Why

Danger gets the wrong PR author. Also, I've changed the CODEOWNERS file to ignore pull requests created by the bot - I think that: /packages/**/CHANGELOG.md @ghost should do the job, cause when the GitHub parse this file it looks for the first match. If the found user didn't contribute to our repo, reviewers shouldn't be added.
I know that isn't the cleanest solution, but I don't have an idea for a better one.

Test Plan

@github-actions
Copy link
Contributor

github-actions bot commented May 7, 2020

Native Component List for this branch is ready

@ExpoBot
Copy link

ExpoBot commented May 7, 2020

Messages
📖

Changelog

Generated by 🚫 dangerJS against 11a7ed3

.github/CODEOWNERS Outdated Show resolved Hide resolved
Co-authored-by: Tomasz Sapeta <1714764+tsapeta@users.noreply.github.com>
@lukmccall lukmccall merged commit bf9a495 into master May 11, 2020
@lukmccall lukmccall deleted the @lukmccall/danger/fix-pr-author-and-ignore-changelog-file-in-codeowners branch May 11, 2020 15:25
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.

None yet

3 participants