breaking: Remove the exclude input

This commit is contained in:
Ardalan Amini committed 2022-03-04 12:06:15 +03:30
1 parent 28e85c2476
commit c72a270e90
8 files changed
+3 -21

No files matched your search

-5
View File
@@ -1,13 +1,9 @@
import { getInput, info, setFailed, setOutput } from "@actions/core";
import { context, getOctokit } from "@actions/github";
import { generate } from "./changelog";
import { TYPES } from "./constants";
async function run() {
const token = getInput("token", { required: true });
const exclude = getInput("exclude", { required: false })
.split(",")
.map((type) => TYPES[type] ?? type);
const octokit = getOctokit(token);
@@ -32,7 +28,6 @@ async function run() {
const changelog = await generate({
octokit,
exclude,
owner,
repo,
sha,