From ab27c2e00e238b7efd6af674f3213da17d8dedb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ma=C5=82ek?= Date: Tue, 23 Apr 2024 17:04:36 +0200 Subject: [PATCH] chore(ci): use github.ref_name instead of a separate parameter in inputs --- .github/workflows/release.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 695df853d..44f8d9c46 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,5 +1,5 @@ name: release -run-name: "Release ${{ format('{0} (type: {1}) (branch: {2})', inputs.tag, inputs.release_type, inputs.base) }} " +run-name: "Release ${{ format('{0} (type: {1}) (branch: {2})', inputs.tag, inputs.release_type, github.ref_name) }} " on: workflow_dispatch: @@ -7,11 +7,6 @@ on: tag: description: The version to release (e.g. v1.2.3) required: true - base: - description: The base branch from which to release and against which to create a release PR. - type: string - default: 'main' - required: false latest: description: Whether to tag this build latest type: boolean @@ -38,6 +33,6 @@ jobs: image-name: ${{ vars.DOCKERHUB_IMAGE_NAME }} latest: ${{ inputs.latest }} tag: ${{ inputs.tag }} - base: ${{ inputs.base }} + base: ${{ github.ref_name }} release-type: ${{ inputs.release_type }} regenerate-manifests: true