Skip to content

Commit

Permalink
feat: make parameter required
Browse files Browse the repository at this point in the history
  • Loading branch information
tmlye committed Apr 9, 2024
1 parent a3a1b62 commit d2e3fb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
api-token-client-id: ${{ secrets.MOLNETT_CLIENT_ID }}
api-token-client-secret: ${{ secrets.MOLNETT_CLIENT_SECRET }}
default-org: personal
- name: Check molnctl usage
run: molnctl orgs list
- name: Cleanup
Expand Down
3 changes: 1 addition & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ inputs:
required: true
default-org:
description: 'Set this org as default after installation'
required: false
required: true
runs:
using: 'composite'
steps:
Expand Down Expand Up @@ -53,7 +53,6 @@ runs:
molnctl orgs list
echo "molnctl sucessfully installed! We recommend choosing a default org using 'molnctl orgs switch <your_org>'"
- name: Set Default Org
if: ${{ success() && inputs.default-org != null && inputs.default-org != '' }}
shell: bash
env:
ORG: ${{ inputs.default-org }}
Expand Down

0 comments on commit d2e3fb5

Please sign in to comment.