mirror of
https://github.com/darksaid98/auto-changelog.git
synced 2026-12-02 22:16:06 +00:00
deps(Dev): Add eslint-config-noir version 1.1.1 (#79)
* chore: Update ESLint config * deps(Dev): Add eslint-config-noir version 1.1.1 * chore: Update action directory
This commit is contained in:
1 parent
1699a856bb
commit
07ba2b1a32
12 files changed
+134
-122
No files matched your search
+6
-6
@@ -1,7 +1,7 @@
|
||||
import { getInput, getBooleanInput } from "@actions/core";
|
||||
import Joi from "joi";
|
||||
import YAML from "yaml";
|
||||
import { ActionInputsI, TypesI } from "./constants";
|
||||
import { getBooleanInput, getInput } from "@actions/core";
|
||||
|
||||
export function getToken(): string {
|
||||
return getInput("github-token", { required: true });
|
||||
@@ -23,12 +23,12 @@ export async function getInputs(): Promise<ActionInputsI> {
|
||||
commitTypes: Joi.object<TypesI>()
|
||||
.pattern(Joi.string(), Joi.string())
|
||||
.required(),
|
||||
defaultCommitType: Joi.string().required(),
|
||||
releaseName: Joi.string().required(),
|
||||
mentionAuthors: Joi.boolean().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(),
|
||||
includeCompare : Joi.boolean().required(),
|
||||
semver : Joi.boolean().required(),
|
||||
})
|
||||
.validateAsync({
|
||||
commitTypes,
|
||||
|
||||
Reference in new issue
Block a user