feat(comment/vssue): add parameter 'autoCreateIssue' (#258)

It's default false
This commit is contained in:
慕枫Go 2021-07-07 19:18:05 +08:00 committed by GitHub
parent 45a944412c
commit b7d4048298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -67,6 +67,7 @@ params:
repo: repo:
clientId: clientId:
clientSecret: clientSecret:
autoCreateIssue: false
# Waline client configuration see: https://waline.js.org/en/reference/client.html # Waline client configuration see: https://waline.js.org/en/reference/client.html
waline: waline:

View File

@ -14,7 +14,7 @@
props: { props: {
title: "{{ $.Title }}", title: "{{ $.Title }}",
options: { options: {
proxy: (url) => "https://cors-anywhere.azm.workers.dev/" + url, autoCreateIssue: {{ default false .autoCreateIssue }},
owner: "{{ .owner }}", owner: "{{ .owner }}",
repo: "{{ .repo }}", repo: "{{ .repo }}",
clientId: "{{ .clientId }}", clientId: "{{ .clientId }}",