-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Automatically update third party licenses during Dependabot PRs #11270
Copy link
Copy link
Closed
Labels
coreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsdiscussFeature changes that require discussion primarily among the GitHub CLI teamFeature changes that require discussion primarily among the GitHub CLI teamenhancementa request to improve CLIa request to improve CLIgithub_actionsPull requests that update GitHub Actions codePull requests that update GitHub Actions code
Metadata
Metadata
Assignees
Labels
coreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsdiscussFeature changes that require discussion primarily among the GitHub CLI teamFeature changes that require discussion primarily among the GitHub CLI teamenhancementa request to improve CLIa request to improve CLIgithub_actionsPull requests that update GitHub Actions codePull requests that update GitHub Actions code
Type
Fields
Give feedbackNo fields configured for issues without a type.
Overview
With
cli/clilint process erring if 3rd party license information is not updated in #11047, Dependabot PRs will require maintainers to manually runmake licenses.Recently, @williammartin opened #11269 with the
script/fix-dependabot-licenses.shscript for maintainers to run that will find all Dependabot PRs and attempt to fix them where the lint workflow failed. This script is a manual repair effort, however it is possible to use a GitHub Actions workflow to run themake licensescript for Dependabot PRs:This issue is aimed at implementing GitHub Actions workflow changes that will automatically update
third-partylicense source code andthird-party-*.mdreports, eliminating the need for maintainers to manually repair Dependabot PRs.Note
To download the
script/fix-dependabot-licenses.shscript, run the following command:Or checkout the original PR:
Expected outcomes
make licenses