Skip to content

Commit

Permalink
Improve texts, fix branch name composition.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed May 14, 2024
1 parent 1fa7454 commit 86d7661
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ansible-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 86d7661

Please sign in to comment.