Skip to content

Conversation

@marcdumais-work
Copy link
Contributor

@marcdumais-work marcdumais-work commented Jan 19, 2024

Depends on dash-licenses nodejs-wrapper being released on npm. (ongoing)

However, I went ahead and published a v0.0.1 so we can start using it immediately - the plan is to catch-up with the PR above and a small subsequent one that will create the GitHub release for this version.

For now the CI job it will be only informational, letting the committers know that some 3PPs look suspicious. Any committer can then run the dash-licenses wrapper locally to automatically create the required IP ticket(s) - see commit message for more details.

Closes #93

The license check can be triggered locally:
  yarn license:check

For automatic opening of IP tickets for suspicious depedencies, set an
Eclipse Foundation gitlab token as environment variable "DASH_TOKEN" and
run the alternate pacakge.json script. e.g.:
  export DASH_TOKEN="<your token>"
  yarn license:check:reviewAdd 3PP license check as part of PR CI

Closes #93

Signed-off-by: Marc Dumais <[email protected]>
@marcdumais-work marcdumais-work changed the title WIP - Add 3PP license check as part of PR CI Add 3PP license check as part of PR CI Jan 29, 2024
@marcdumais-work marcdumais-work force-pushed the automated-pr-license-check branch from 2e441fe to b1c970e Compare January 29, 2024 20:41
@marcdumais-work marcdumais-work marked this pull request as ready for review January 29, 2024 20:44
Copy link
Contributor

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@marcdumais-work
Copy link
Contributor Author

Thanks for the review!

@marcdumais-work marcdumais-work merged commit 8af60e2 into master Jan 29, 2024
@marcdumais-work marcdumais-work deleted the automated-pr-license-check branch January 29, 2024 21:15
@marcdumais-work marcdumais-work mentioned this pull request Mar 21, 2024
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.

Perform automated 3PP license check as part of CI for PRs

3 participants