From 0cbf324ef40408a0f84a3f3befae37e82601c41f Mon Sep 17 00:00:00 2001 From: Pranav C <61551451+pranavxc@users.noreply.github.com> Date: Sun, 18 Jul 2021 17:49:20 +0530 Subject: [PATCH] chore(github-actions): release draft action corrections Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com> --- .github/workflows/release-draft.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-draft.yml b/.github/workflows/release-draft.yml index 8d03aba8e2..e076c5f044 100644 --- a/.github/workflows/release-draft.yml +++ b/.github/workflows/release-draft.yml @@ -6,6 +6,9 @@ on: tag: description: "Tag" required: true + prev_tag: + description: "Previous Tag" + required: true jobs: build: @@ -30,4 +33,4 @@ jobs: - uses: actions/setup-node@v2 with: node-version: 14 - - run: "npx github-release-notes@0.17.2 release --token ${{ secrets.GH_TOKEN }} --draft" + - run: "npx github-release-notes@0.17.2 release --token ${{ secrets.GH_TOKEN }} --draft --tags ${{ github.event.inputs.tag }}..${{ github.event.inputs.prev_tag }}"