feat: Include new contributors in the changelog (#49)

* feat: Add mention-new-contributors input

* deps: Add marked version 4.0.14

* feat: Include new contributors in the changelog

* revert: Test workflow changes
This commit is contained in:
Ardalan Amini authored and GitHub committed 2022-04-29 11:18:38 +04:30
1 parent 49a93eccf5
commit a3982c4b9b
11 files changed
+130 -4

No files matched your search

+5
View File
@@ -11,6 +11,9 @@ 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 mentionNewContributors = getBooleanInput("mention-new-contributors", {
required: true,
});
const includeCompare = getBooleanInput("include-compare", { required: true });
const semver = getBooleanInput("semver", { required: true });
@@ -21,6 +24,7 @@ export async function getInputs(): Promise<ActionInputsI> {
.required(),
defaultCommitType: Joi.string().required(),
releaseName: Joi.string().required(),
mentionNewContributors: Joi.boolean().required(),
includeCompare: Joi.boolean().required(),
semver: Joi.boolean().required(),
})
@@ -28,6 +32,7 @@ export async function getInputs(): Promise<ActionInputsI> {
commitTypes,
defaultCommitType,
releaseName,
mentionNewContributors,
includeCompare,
semver,
});