Skip to content

Commit

Permalink
Add atmos-include-dependents input option to action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
milldr committed Jun 19, 2024
1 parent 54ed6be commit 957302a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ inputs:
description: Whether to include the Spacelift admin stacks of affected stacks in the output
required: false
default: "false"
atmos-include-dependents:
description: Whether to include dependents of affected stacks in the output
required: false
default: "false"
install-jq:
description: Whether to install jq
required: false
Expand Down Expand Up @@ -110,6 +114,8 @@ runs:
run: |
if [[ "${{ inputs.atmos-include-spacelift-admin-stacks }}" == "true" ]]; then
atmos describe affected --file affected-stacks.json --verbose=true --repo-path "$GITHUB_WORKSPACE/main-branch" --include-spacelift-admin-stacks=true
elif [[ "${{ inputs.atmos-include-dependents }}" == "true" ]]; then
atmos describe affected --file affected-stacks.json --verbose=true --repo-path "$GITHUB_WORKSPACE/main-branch" --include-dependents=true
else
atmos describe affected --file affected-stacks.json --verbose=true --repo-path "$GITHUB_WORKSPACE/main-branch"
fi
Expand Down

0 comments on commit 957302a

Please sign in to comment.