Add Reusable Workflow to Compute Raw JSON file for use with repolinter GH Action.
Problem
The repolinter GitHub action that we are using, newrelic/repolinter-action@v1, doesn't support the extends keyword that is commonly used in repolinter.json files.
Solution
Create a reusable GitHub workflow that iterates recursively through all JSON files that are referenced by the extends keyword and updates the values to reflect the proper repolinter tier.
Result
Projects can now use this GitHub action to alter their repolinter.json file that they are using to work with newrelic's repolinter-action.
Add Reusable Workflow to Compute Raw JSON file for use with repolinter GH Action.
Problem
The repolinter GitHub action that we are using, newrelic/repolinter-action@v1, doesn't support the
extends
keyword that is commonly used inrepolinter.json
files.Solution
Create a reusable GitHub workflow that iterates recursively through all JSON files that are referenced by the
extends
keyword and updates the values to reflect the proper repolinter tier.Result
Projects can now use this GitHub action to alter their repolinter.json file that they are using to work with newrelic's repolinter-action.
Test Plan
Push to
dev
and test outside this repository.