You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
ClearlyNoticed Action
1.0.0
Create a NOTICE attribution file based on your package-lock.json as a github action!
- uses https://www.npmjs.com/package/tiny-attribution-generator (chive) and https://clearlydefined.io to generate
- optional custom NOTICE_TEMPLATE
- optional argument for filename to use (--filename)
- optional argument for including devDependencies (--includeDev) (excluded by default)
add ./github/main.workflow to your repo
workflow "NOTICE file generator" {
on = "push"
resolves = ["NOTICE file generator"]
}
action "NOTICE file generator" {
uses = "dabutvin/chive-action@master"
secrets = ["GITHUB_TOKEN"]
}
with custom file name
action "NOTICE file generator" {
uses = "dabutvin/chive-action@master"
secrets = ["GITHUB_TOKEN"]
args = "--filename=MyNotices.md"
}
include devDependencies in notices
action "NOTICE file generator" {
uses = "dabutvin/chive-action@master"
secrets = ["GITHUB_TOKEN"]
args = "--includeDev=true"
}