From c02812e54267a8378c684a4846e48206189dd4b3 Mon Sep 17 00:00:00 2001 From: Roar Bergheim Date: Thu, 27 Apr 2023 15:32:14 +0200 Subject: [PATCH] Update action.yml --- action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index f7b9b1f7..e2a67bf5 100644 --- a/action.yml +++ b/action.yml @@ -1,6 +1,6 @@ name: "Update Pull Request from Branch Name" description: "Updates a pull request with information extracted from head and/or base branch name" -author: "Jamie Wright" +author: "Jamie Wright / Roar Bergheim" runs: using: "node16" main: "dist/index.js" @@ -60,6 +60,10 @@ inputs: description: "Should the matched text from head branch be in the body. This is a check and will not change anything." required: false default: "true" + fail-on-error: + description: "Should the action fail if an error is encountered (e.g. the branch name does not match)" + required: false + default: "true" outputs: baseMatch: description: "Matched text from base branch, if any"