mirror of
https://github.com/darksaid98/auto-changelog.git
synced 2026-12-03 06:28:52 +00:00
feat: Add ability to mention the commit authors (#52)
* feat: Add mention-authors input * feat: Add ability to mention the commit authors
This commit is contained in:
1 parent
fb0a5b1b30
commit
979eade40d
8 files changed
+42
-9
No files matched your search
@@ -11,6 +11,7 @@ export async function getInputs(): Promise<ActionInputsI> {
|
||||
const commitTypes = YAML.parse(getInput("commit-types", { required: true }));
|
||||
const defaultCommitType = getInput("default-commit-type", { required: true });
|
||||
const releaseName = getInput("release-name", { required: true });
|
||||
const mentionAuthors = getBooleanInput("mention-authors", { required: true });
|
||||
const mentionNewContributors = getBooleanInput("mention-new-contributors", {
|
||||
required: true,
|
||||
});
|
||||
@@ -24,6 +25,7 @@ export async function getInputs(): Promise<ActionInputsI> {
|
||||
.required(),
|
||||
defaultCommitType: Joi.string().required(),
|
||||
releaseName: Joi.string().required(),
|
||||
mentionAuthors: Joi.boolean().required(),
|
||||
mentionNewContributors: Joi.boolean().required(),
|
||||
includeCompare: Joi.boolean().required(),
|
||||
semver: Joi.boolean().required(),
|
||||
@@ -32,6 +34,7 @@ export async function getInputs(): Promise<ActionInputsI> {
|
||||
commitTypes,
|
||||
defaultCommitType,
|
||||
releaseName,
|
||||
mentionAuthors,
|
||||
mentionNewContributors,
|
||||
includeCompare,
|
||||
semver,
|
||||
|
||||
Reference in new issue
Block a user