mirror of
https://github.com/darksaid98/auto-changelog.git
synced 2026-12-04 14:38:48 +00:00
breaking: Separate deps type from build
This commit is contained in:
3 files changed
+6
-8
No files matched your search
@@ -13,9 +13,10 @@ type(category): description [flag]
|
||||
The `type` must be one of the followings:
|
||||
|
||||
* `breaking` (Breaking Changes)
|
||||
* `build` (Build System / Dependencies)
|
||||
* `build` (Build System)
|
||||
* `ci` (Continuous Integration)
|
||||
* `chore` (Chores)
|
||||
* `deps` (Dependencies)
|
||||
* `docs` (Documentation Changes)
|
||||
* `feat` (New Features)
|
||||
* `fix` (Bug Fixes)
|
||||
|
||||
+2
-1
@@ -105,9 +105,10 @@ const PR_REGEX = /#([1-9]\d*)/g;
|
||||
|
||||
const TYPES = {
|
||||
breaking: "Breaking Changes",
|
||||
build: "Build System / Dependencies",
|
||||
build: "Build System",
|
||||
ci: "Continuous Integration",
|
||||
chore: "Chores",
|
||||
deps: "Dependencies",
|
||||
docs: "Documentation Changes",
|
||||
feat: "New Features",
|
||||
fix: "Bug Fixes",
|
||||
|
||||
+2
-6
@@ -1,9 +1,8 @@
|
||||
import { info, getInput, setOutput, setFailed } from "@actions/core";
|
||||
import { getInput, info, setFailed, setOutput } from "@actions/core";
|
||||
import { context, getOctokit } from "@actions/github";
|
||||
import { generate } from "./changelog";
|
||||
|
||||
async function run() {
|
||||
try {
|
||||
const token = getInput("token", { required: true });
|
||||
const exclude = getInput("exclude", { required: false }).split(",");
|
||||
const octokit = getOctokit(token);
|
||||
@@ -31,9 +30,6 @@ async function run() {
|
||||
info(changelog);
|
||||
|
||||
setOutput("changelog", changelog);
|
||||
} catch (error) {
|
||||
setFailed(error.message);
|
||||
}
|
||||
}
|
||||
|
||||
run();
|
||||
run().catch((error) => setFailed(error.message));
|
||||
Reference in new issue
Block a user