Skip to content

Commit e765006

Browse files
authored
Update action.yml
1 parent 2830709 commit e765006

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

action.yml

+9
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ inputs:
1616
api_key:
1717
description: "API key for the ctrlplane instance"
1818
required: false
19+
workspace:
20+
description: "Workspace ID (uuid)"
21+
required: false
1922

2023
runs:
2124
using: "composite"
@@ -59,3 +62,9 @@ runs:
5962
if: inputs.api_key != ''
6063
run: |
6164
ctrlc config set api-key ${{ inputs.api_key }}
65+
66+
- name: Set Ctrlplane Workspace
67+
shell: bash
68+
if: inputs.workspace != ''
69+
run: |
70+
ctrlc config set workspace ${{ inputs.workspace }}

0 commit comments

Comments
 (0)