Skip to content

Commit

Permalink
feat: build for release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 9, 2022
1 parent ee7ace6 commit fec1763
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 9 deletions.
1 change: 1 addition & 0 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
|INCLUDE_LABELS|プルリクエストに付与されているかチェックするラベル| | |`Label1, Label2`|
|OPENING_COMMENT|開始コメント (DocToc以外のため)|`<!-- toc `| | |
|CLOSING_COMMENT|終了コメント (DocToc以外のため)|`<!-- tocstop `| | |
|SKIP_COMMENT|スキップコメント| | |`<!-- toc skip `|
|GITHUB_TOKEN|アクセストークン|`${{github.token}}`|true|`${{secrets.ACCESS_TOKEN}}`|

### 個別に指定
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ e.g. `README.md`
|INCLUDE_LABELS|Labels used to check if the PullRequest has it| | |`Label1, Label2`|
|OPENING_COMMENT|Opening comment (for other than DocToc)|`<!-- toc `| | |
|CLOSING_COMMENT|Closing comment (for other than DocToc)|`<!-- tocstop `| | |
|SKIP_COMMENT|Skip comment| | |`<!-- toc skip `|
|GITHUB_TOKEN|Access token|`${{github.token}}`|true|`${{secrets.ACCESS_TOKEN}}`|

### Specify options individually
Expand Down
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ inputs:
description: Closing comment (for other than DocToc)
required: false
default: '<!-- tocstop '
SKIP_COMMENT:
description: Skip comment
required: false
HTML_MODE:
description: Whether it is html mode (deprecated).
required: false
Expand Down
2 changes: 1 addition & 1 deletion build.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"owner":"technote-space","repo":"toc-generator","sha":"FETCH_HEAD","ref":"refs/heads/master","tagName":"test/v4.2.3","branch":"gh-actions","tags":["test/v4.2.3","test/v4.2","test/v4"],"updated_at":"2022-12-09T15:14:05.711Z"}
{"owner":"technote-space","repo":"toc-generator","sha":"9ce7963dfdc62db525f845568ac92926033caebb","ref":"refs/tags/test/v4.3.0.3661516251","tagName":"test/v4.3.0.3661516251","branch":"gh-actions","tags":["test/v4.3.0.3661516251","test/v4.3.0","test/v4.3","test/v4"],"updated_at":"2022-12-09T23:31:12.544Z"}
3 changes: 2 additions & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -96162,7 +96162,7 @@ const abortMerge = async (helper, logger) => {
const commit = async (helper, logger, context) => {
await userConfig(helper, context);
logger.startProcess('Committing...');
await helper.makeCommit(getWorkspace$1(), getCommitMessage(context));
await helper.makeCommit(getWorkspace$1(), getCommitMessage(context), { args: context.actionDetail.signoff ? ['--signoff'] : undefined });
};
const push = async (branchName, helper, logger, context) => {
logger.startProcess('Pushing to %s@%s...', getRepository(context.actionContext), branchName);
Expand Down Expand Up @@ -123230,6 +123230,7 @@ const transformWithWrap = (path, title) => {
entryPrefix: getEntryPrefix(),
checkOpeningComments: utils$l.uniqueArray(getArrayInput('OPENING_COMMENT').concat(CHECK_OPENING_COMMENT)),
checkClosingComments: utils$l.uniqueArray(getArrayInput('CLOSING_COMMENT').concat(CHECK_CLOSING_COMMENT)),
checkSkipComments: utils$l.uniqueArray(getArrayInput('SKIP_COMMENT').concat(CHECK_SKIP_COMMENT)),
isCustomMode: utils$l.getBoolValue(coreExports.getInput('CUSTOM_MODE') || coreExports.getInput('HTML_MODE')),
customTemplate: coreExports.getInput('CUSTOM_TEMPLATE') || coreExports.getInput('HTML_TEMPLATE'),
itemTemplate: coreExports.getInput('ITEM_TEMPLATE'),
Expand Down
14 changes: 7 additions & 7 deletions node_modules/.yarn-integrity

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fec1763

Please sign in to comment.