newrelic / repolinter-action

✅Run Repolinter in your CI pipeline
Apache License 2.0
8 stars 18 forks source link

Use repolinter docker image #3

Closed jeffmcaffer closed 3 years ago

jeffmcaffer commented 4 years ago

Summary

The current code uses repolinter as a library and inlines its execution with the Node evaluation of the action itself. That's convenient but does not allow for non-Node based tools (e.g., licensee, linguist) to be used as part of the linting rules. Witness the errors in the action output saying that licensee and linguist are not installed.

Desired Behavior

Would like to use this action to run the full repo linter capability

Possible Solution

This action coule be Docker based and use the repolinter image (which as all these prereqs) and either call it as a command line or use it as a library.

Additional context