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 add a PR comment for changes to ignored packages #211

Open
mikenikles opened this issue Sep 7, 2022 · 0 comments
Open

Don't add a PR comment for changes to ignored packages #211

mikenikles opened this issue Sep 7, 2022 · 0 comments

Comments

@mikenikles
Copy link

Let's take a monorepo with the following structure:

.
└── packages
    ├── a
    ├── b
    └── c

Packages a and b have "private": true set in their package.json. Only package c gets published to NPM and benefits from Changesets.

When team members modify packages a and b, Changesets adds a comment to their PRs "⚠️ No Changeset found".

Is there a way to configure the Changesets GitHub action so it only posts comments to PRs when the PR contains changes for a package that is published to NPM?

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

No branches or pull requests

1 participant