fix: Redeploy with src/action again
parent
949ce5e5a6
commit
8977e6168a
|
@ -1,13 +0,0 @@
|
||||||
module.exports = {
|
|
||||||
extends: [
|
|
||||||
'@commitlint/config-conventional',
|
|
||||||
],
|
|
||||||
|
|
||||||
rules: {
|
|
||||||
'subject-case': [
|
|
||||||
2,
|
|
||||||
'always',
|
|
||||||
'sentence-case',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -1,5 +0,0 @@
|
||||||
module.exports = {
|
|
||||||
hooks: {
|
|
||||||
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS'
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -4,7 +4,7 @@ author: 'Tycho Bokdam'
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'node12'
|
using: 'node12'
|
||||||
main: 'lib/index.js'
|
main: 'src/index.js'
|
||||||
|
|
||||||
branding:
|
branding:
|
||||||
icon: 'edit'
|
icon: 'edit'
|
||||||
|
|
|
@ -1,61 +0,0 @@
|
||||||
*{{#if scope}} **{{scope}}:**
|
|
||||||
{{~/if}} {{#if subject}}
|
|
||||||
{{~subject}}
|
|
||||||
{{~else}}
|
|
||||||
{{~header}}
|
|
||||||
{{~/if}}
|
|
||||||
|
|
||||||
{{~!-- commit link --}} {{#if @root.linkReferences~}}
|
|
||||||
([{{shortHash}}](
|
|
||||||
{{~#if @root.repository}}
|
|
||||||
{{~#if @root.host}}
|
|
||||||
{{~@root.host}}/
|
|
||||||
{{~/if}}
|
|
||||||
{{~#if @root.owner}}
|
|
||||||
{{~@root.owner}}/
|
|
||||||
{{~/if}}
|
|
||||||
{{~@root.repository}}
|
|
||||||
{{~else}}
|
|
||||||
{{~@root.repoUrl}}
|
|
||||||
{{~/if}}/
|
|
||||||
{{~@root.commit}}/{{hash}}))
|
|
||||||
{{~else}}
|
|
||||||
{{~shortHash}}
|
|
||||||
{{~/if}}
|
|
||||||
|
|
||||||
{{~!-- commit references --}}
|
|
||||||
{{~#if references~}}
|
|
||||||
, closes
|
|
||||||
{{~#each references}} {{#if @root.linkReferences~}}
|
|
||||||
[
|
|
||||||
{{~#if this.owner}}
|
|
||||||
{{~this.owner}}/
|
|
||||||
{{~/if}}
|
|
||||||
{{~this.repository}}#{{this.issue}}](
|
|
||||||
{{~#if @root.repository}}
|
|
||||||
{{~#if @root.host}}
|
|
||||||
{{~@root.host}}/
|
|
||||||
{{~/if}}
|
|
||||||
{{~#if this.repository}}
|
|
||||||
{{~#if this.owner}}
|
|
||||||
{{~this.owner}}/
|
|
||||||
{{~/if}}
|
|
||||||
{{~this.repository}}
|
|
||||||
{{~else}}
|
|
||||||
{{~#if @root.owner}}
|
|
||||||
{{~@root.owner}}/
|
|
||||||
{{~/if}}
|
|
||||||
{{~@root.repository}}
|
|
||||||
{{~/if}}
|
|
||||||
{{~else}}
|
|
||||||
{{~@root.repoUrl}}
|
|
||||||
{{~/if}}/
|
|
||||||
{{~@root.issue}}/{{this.issue}})
|
|
||||||
{{~else}}
|
|
||||||
{{~#if this.owner}}
|
|
||||||
{{~this.owner}}/
|
|
||||||
{{~/if}}
|
|
||||||
{{~this.repository}}#{{this.issue}}
|
|
||||||
{{~/if}}{{/each}}
|
|
||||||
{{~/if}}
|
|
||||||
|
|
|
@ -1,56 +0,0 @@
|
||||||
* {{header}}
|
|
||||||
|
|
||||||
{{~!-- commit link --}} {{#if @root.linkReferences~}}
|
|
||||||
([{{hash}}](
|
|
||||||
{{~#if @root.repository}}
|
|
||||||
{{~#if @root.host}}
|
|
||||||
{{~@root.host}}/
|
|
||||||
{{~/if}}
|
|
||||||
{{~#if @root.owner}}
|
|
||||||
{{~@root.owner}}/
|
|
||||||
{{~/if}}
|
|
||||||
{{~@root.repository}}
|
|
||||||
{{~else}}
|
|
||||||
{{~@root.repoUrl}}
|
|
||||||
{{~/if}}/
|
|
||||||
{{~@root.commit}}/{{hash}}))
|
|
||||||
{{~else}}
|
|
||||||
{{~hash}}
|
|
||||||
{{~/if}}
|
|
||||||
|
|
||||||
{{~!-- commit references --}}
|
|
||||||
{{~#if references~}}
|
|
||||||
, closes
|
|
||||||
{{~#each references}} {{#if @root.linkReferences~}}
|
|
||||||
[
|
|
||||||
{{~#if this.owner}}
|
|
||||||
{{~this.owner}}/
|
|
||||||
{{~/if}}
|
|
||||||
{{~this.repository}}#{{this.issue}}](
|
|
||||||
{{~#if @root.repository}}
|
|
||||||
{{~#if @root.host}}
|
|
||||||
{{~@root.host}}/
|
|
||||||
{{~/if}}
|
|
||||||
{{~#if this.repository}}
|
|
||||||
{{~#if this.owner}}
|
|
||||||
{{~this.owner}}/
|
|
||||||
{{~/if}}
|
|
||||||
{{~this.repository}}
|
|
||||||
{{~else}}
|
|
||||||
{{~#if @root.owner}}
|
|
||||||
{{~@root.owner}}/
|
|
||||||
{{~/if}}
|
|
||||||
{{~@root.repository}}
|
|
||||||
{{~/if}}
|
|
||||||
{{~else}}
|
|
||||||
{{~@root.repoUrl}}
|
|
||||||
{{~/if}}/
|
|
||||||
{{~@root.issue}}/{{this.issue}})
|
|
||||||
{{~else}}
|
|
||||||
{{~#if this.owner}}
|
|
||||||
{{~this.owner}}/
|
|
||||||
{{~/if}}
|
|
||||||
{{~this.repository}}#{{this.issue}}
|
|
||||||
{{~/if}}{{/each}}
|
|
||||||
{{~/if}}
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
{{#if noteGroups}}
|
|
||||||
{{#each noteGroups}}
|
|
||||||
|
|
||||||
### {{title}}
|
|
||||||
|
|
||||||
{{#each notes}}
|
|
||||||
* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{text}}
|
|
||||||
{{/each}}
|
|
||||||
{{/each}}
|
|
||||||
|
|
||||||
{{/if}}
|
|
|
@ -1,10 +0,0 @@
|
||||||
{{#if noteGroups}}
|
|
||||||
{{#each noteGroups}}
|
|
||||||
|
|
||||||
### {{title}}
|
|
||||||
|
|
||||||
{{#each notes}}
|
|
||||||
* {{text}}
|
|
||||||
{{/each}}
|
|
||||||
{{/each}}
|
|
||||||
{{/if}}
|
|
|
@ -1,25 +0,0 @@
|
||||||
{{#if isPatch~}}
|
|
||||||
##
|
|
||||||
{{~else~}}
|
|
||||||
#
|
|
||||||
{{~/if}} {{#if @root.linkCompare~}}
|
|
||||||
[{{version}}](
|
|
||||||
{{~#if @root.repository~}}
|
|
||||||
{{~#if @root.host}}
|
|
||||||
{{~@root.host}}/
|
|
||||||
{{~/if}}
|
|
||||||
{{~#if @root.owner}}
|
|
||||||
{{~@root.owner}}/
|
|
||||||
{{~/if}}
|
|
||||||
{{~@root.repository}}
|
|
||||||
{{~else}}
|
|
||||||
{{~@root.repoUrl}}
|
|
||||||
{{~/if~}}
|
|
||||||
/compare/{{previousTag}}...{{currentTag}})
|
|
||||||
{{~else}}
|
|
||||||
{{~version}}
|
|
||||||
{{~/if}}
|
|
||||||
{{~#if title}} "{{title}}"
|
|
||||||
{{~/if}}
|
|
||||||
{{~#if date}} ({{date}})
|
|
||||||
{{/if}}
|
|
|
@ -1,9 +0,0 @@
|
||||||
## {{#if isPatch~}} <small>
|
|
||||||
{{~/if~}} {{version}}
|
|
||||||
{{~#if title}} "{{title}}"
|
|
||||||
{{~/if~}}
|
|
||||||
{{~#if date}} ({{date}})
|
|
||||||
{{~/if~}}
|
|
||||||
{{~#if isPatch~}} </small>
|
|
||||||
{{~/if}}
|
|
||||||
|
|
38
lib/index.js
38
lib/index.js
File diff suppressed because one or more lines are too long
|
@ -1,16 +0,0 @@
|
||||||
{{> header}}
|
|
||||||
|
|
||||||
{{#each commitGroups}}
|
|
||||||
|
|
||||||
{{#if title}}
|
|
||||||
### {{title}}
|
|
||||||
|
|
||||||
{{/if}}
|
|
||||||
{{#each commits}}
|
|
||||||
{{> commit root=@root}}
|
|
||||||
{{/each}}
|
|
||||||
|
|
||||||
{{/each}}
|
|
||||||
{{> footer}}
|
|
||||||
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
{{> header}}
|
|
||||||
|
|
||||||
{{#each commitGroups}}
|
|
||||||
{{#each commits}}
|
|
||||||
{{> commit root=@root}}
|
|
||||||
{{/each}}
|
|
||||||
{{/each}}
|
|
||||||
|
|
||||||
{{> footer}}
|
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
|
@ -21,13 +21,9 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Tycho Bokdam",
|
"name": "Tycho Bokdam",
|
||||||
"email": "tycho@palmtreecoding.com"
|
"email": "github@palmtreecoding.com"
|
||||||
},
|
|
||||||
"main": "lib/index.js",
|
|
||||||
"scripts": {
|
|
||||||
"build": "ncc build src/index.js --minify --out lib",
|
|
||||||
"watch": "ncc build src/index.js --watch"
|
|
||||||
},
|
},
|
||||||
|
"main": "src/index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "1.6.0",
|
"@actions/core": "1.6.0",
|
||||||
"@actions/exec": "1.1.0",
|
"@actions/exec": "1.1.0",
|
||||||
|
@ -39,11 +35,5 @@
|
||||||
"object-path": "^0.11.8",
|
"object-path": "^0.11.8",
|
||||||
"semver": "^7.3.5",
|
"semver": "^7.3.5",
|
||||||
"yaml": "^1.10.2"
|
"yaml": "^1.10.2"
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@commitlint/cli": "13.2.0",
|
|
||||||
"@commitlint/config-conventional": "13.2.0",
|
|
||||||
"@vercel/ncc": "^0.31.1",
|
|
||||||
"husky": "4.3.6"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue