From 86d766117eb99dc7e27ce57980346c37eef6e433 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 14 May 2024 13:01:13 +0200 Subject: [PATCH] Improve texts, fix branch name composition. --- .github/workflows/ansible-release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ansible-release.yml b/.github/workflows/ansible-release.yml index 6720358e50..51b345475c 100644 --- a/.github/workflows/ansible-release.yml +++ b/.github/workflows/ansible-release.yml @@ -18,15 +18,14 @@ name: Release Ansible package default: false allow-reset-build-deps: description: >- - Whether to allow resetting existing `.build` files during alpha and beta-1 releases. - - Should only be set to `false` for specific alpha or beta-1 releases if the deps and - build files have been prepared manually. + Whether to allow resetting existing .build files during alpha and beta-1 releases. + Only set to false for special alpha or beta-1 releases if the deps and build files + have been prepared manually! type: boolean default: true existing-branch: description: >- - If provided, assumes that a branch of this name exists in the `ansible-build-data` + If provided, assumes that a branch of this name exists in the ansible-build-data repository. Changes will be pushed to this branch, and the PR will be created from it. type: string @@ -36,7 +35,7 @@ env: Ansible ${{ inputs.ansible-version }}: Dependencies, changelog and porting guide ANSIBLE_VERSION: ${{ inputs.ansible-version }} - ANSIBLE_BRANCH_NAME: ${{ inputs.existing-branch || ('publish-' + inputs.ansible-version) }} + ANSIBLE_BRANCH_NAME: ${{ inputs.existing-branch || format('publish-{0}', inputs.ansible-version) }} jobs: build: