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

Question: Run FOSSA only on the delta code in a PR #27

Open
shubham1172 opened this issue Aug 5, 2022 · 1 comment
Open

Question: Run FOSSA only on the delta code in a PR #27

shubham1172 opened this issue Aug 5, 2022 · 1 comment

Comments

@shubham1172
Copy link
Contributor

Hello, can we run the FOSSA action only on the delta in the PR? i.e., if a bad license is introduced by the PR, only then flag it, if it exists in the main/master branch as well, ignore it.

@rolodato
Copy link
Contributor

This action does not currently support it, but fossa test supports a --diff argument that lets you only flag issues introduced starting from a certain revision, or comparing arbitrary revisions: https://github.com/fossas/fossa-cli/blob/master/docs/references/subcommands/test.md#example

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

2 participants