Skip to content

Commit a596f43

Browse files
committed
update the metadata
1 parent 5675ebd commit a596f43

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM node:10-alpine
22

3-
LABEL "com.github.actions.name"="Chive Action"
4-
LABEL "com.github.actions.description"="Generate NOTICE files from package-lock.json"
5-
LABEL "com.github.actions.icon"="mic"
6-
LABEL "com.github.actions.color"="purple"
3+
LABEL "com.github.actions.name"="NOTICE file generator"
4+
LABEL "com.github.actions.description"="Generate a NOTICE file from your package-lock.json"
5+
LABEL "com.github.actions.icon"="droplet"
6+
LABEL "com.github.actions.color"="green"
77

88
LABEL "repository"="http://github.com/dabutvin/chive-action"
99
LABEL "homepage"="http://github.com/dabutvin/chive-action"

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# chive-action
1+
# NOTICE file generator (chvive-action)
22

33
Create a NOTICE attribution file based on your package-lock.json as a github action!
44

5-
- uses https://www.npmjs.com/package/tiny-attribution-generator and https://clearlydefined.io to generate
5+
- uses https://www.npmjs.com/package/tiny-attribution-generator (chive) and https://clearlydefined.io to generate
66
- optional custom NOTICE_TEMPLATE
77
- optional argument for filename to use (--filename)
88
- optional argument for including devDependencies (--includeDev) (excluded by default)
99

1010
add ./github/main.workflow to your repo
1111

1212
```
13-
workflow "NOTICE file generate" {
13+
workflow "NOTICE file generator" {
1414
on = "push"
15-
resolves = ["Chive Action"]
15+
resolves = ["NOTICE file generator"]
1616
}
1717
18-
action "Chive Action" {
18+
action "NOTICE file generator" {
1919
uses = "dabutvin/chive-action@master"
2020
secrets = ["GITHUB_TOKEN"]
2121
}
@@ -24,7 +24,7 @@ action "Chive Action" {
2424
with custom file name
2525

2626
```
27-
action "Chive Action" {
27+
action "NOTICE file generator" {
2828
uses = "dabutvin/chive-action@master"
2929
secrets = ["GITHUB_TOKEN"]
3030
args = "--filename=MyNotices.md"
@@ -34,7 +34,7 @@ action "Chive Action" {
3434
include devDependencies in notices
3535

3636
```
37-
action "Chive Action" {
37+
action "NOTICE file generator" {
3838
uses = "dabutvin/chive-action@master"
3939
secrets = ["GITHUB_TOKEN"]
4040
args = "--includeDev=true"

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ function writeFile(filePath, content, branchName, currentSha) {
155155
const payload = {
156156
message: `update ${noticesFileName}`,
157157
committer: {
158-
name: 'dabutvin',
159-
email: 'butvinik@outlook.com'
158+
name: 'chive-action',
159+
email: 'chive.action@gmail.com'
160160
},
161161
content,
162162
branch: branchName
@@ -211,7 +211,7 @@ function getPrBody(coordinates, clearlydefinedSource) {
211211
if (pkg.license) licenseAvailable++
212212
return `| ${x} | ${pkg.license} | ${pkg.website} | ${yesno(pkg.copyrights && pkg.copyrights.length)} | ${yesno(pkg.text)} |\n`
213213
}).sort((a, b) => b.license ? 1 : -1)
214-
let result = '## Beep boop. Your notices are updated!\n\n'
214+
let result = '## Holy chives! Your notices are updated!\n\n'
215215
result += `We found license information for ${licenseAvailable} of ${coordinates.length} total components ${licenseAvailable > 0 ? '🎉' : ''}\n\n`
216216
result += '<details>\n<summary>\nDetails\n</summary>\n\n'
217217
result += '| Package | License | Website | Copyrights available | License text available |\n'

0 commit comments

Comments
 (0)