Skip to content

Commit

Permalink
fix(control-instance): Factor out instance_name_prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed Aug 24, 2024
1 parent 38dbd45 commit d5ddea5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/actions/control-instance/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ inputs:
description:
"Name of the command to execute: create, delete, shelve, unshelve"
required: true
instance_name_prefix:
description: "Instance name prefix"
required: true
runs:
using: "composite"
steps:
Expand Down Expand Up @@ -43,7 +46,7 @@ runs:
id: define
uses: ./.github/actions/define-instance-name
with:
prefix: ${{ vars.INSTANCE_NAME_PREFIX }}
prefix: ${{ inputs.instance_name_prefix }}
issue_number: ${{ inputs.issue_number }}

- name: Check instance exists
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/control-instance-from-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ jobs:
with:
issue_number: ${{ inputs.issue_number }}
command_name: ${{ inputs.command_name }}
instance_name_prefix: ${{ vars.INSTANCE_NAME_PREFIX }}
1 change: 1 addition & 0 deletions .github/workflows/control-instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,4 @@ jobs:
with:
issue_number: ${{ github.event.issue.number }}
command_name: ${{ steps.command.outputs.command_name }}
instance_name_prefix: ${{ vars.INSTANCE_NAME_PREFIX }}

0 comments on commit d5ddea5

Please sign in to comment.