From 7cf90a9adf3cad201bcebf48681ed18ac0ff0a06 Mon Sep 17 00:00:00 2001 From: Thomas Piskol <38790465+ThomasPiskol@users.noreply.github.com> Date: Mon, 3 May 2021 02:43:58 +0200 Subject: [PATCH] Support custom target_commitish value (#76) * Make target_commitish configurable * Store compiled action for testing * Add target_commitish to metadata * Allow override of target_commitish for updating * Print commit usage * Improve message for commit usage * Update draft releases too * Revert "Update draft releases too" This reverts commit ff30f8edb18fa851785a2d361b03c9713f5ac17d. * Integrate latest changes from upstream. --- README.md | 3 +++ action.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 32188e39d..ea718f8bd 100644 --- a/README.md +++ b/README.md @@ -181,6 +181,9 @@ attempted first, then falling back on `body` if the path can not be read from. 💡 When the release info keys (such as `name`, `body`, `draft`, `prerelease`, etc.) are not explicitly set and there is already an existing release for the tag, the release will retain its original info. +======= + +💡When providing a `body` and `body_path` at the same time, `body_path` will be attempted first, then falling back on `body` if the path can not be read from. #### outputs diff --git a/action.yml b/action.yml index ab5478b6d..6e07cebe5 100644 --- a/action.yml +++ b/action.yml @@ -37,6 +37,9 @@ inputs: target_commitish: description: "Commitish value that determines where the Git tag is created from. Can be any branch or commit SHA." required: false + target_commitish: + description: 'Commitish value that determines where the Git tag is created from. Can be any branch or commit SHA.' + required: false env: "GITHUB_TOKEN": "As provided by Github Actions" outputs: