Add licenses plugin (#118)
This commit is contained in:
1 parent
1f59169b11
commit
783e2b453b
12 files changed
+730
-3
No files matched your search
@@ -0,0 +1,20 @@
|
||||
query LicensesDefault {
|
||||
licenses {
|
||||
spdxId
|
||||
name
|
||||
nickname
|
||||
key
|
||||
limitations {
|
||||
key
|
||||
label
|
||||
}
|
||||
conditions {
|
||||
key
|
||||
label
|
||||
}
|
||||
permissions {
|
||||
key
|
||||
label
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
query LicensesRepository {
|
||||
$account(login: "$owner") {
|
||||
repository(name: "$name") {
|
||||
licenseInfo {
|
||||
spdxId
|
||||
name
|
||||
nickname
|
||||
key
|
||||
}
|
||||
url
|
||||
databaseId
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user