Skip to content

Conversation

@lakshmi-kannan
Copy link
Contributor

This PR addresses problems around immutability and supplying default value for params.

If a runner param is declared immutable in runner, the default value should be supplied in runner.
If an action param is declared immutable in action, default value should be supplied in action.
If a runner param is declared immutable in action, default value can either be the one from runner or if it's supplied in action, we'll pick that up.

Lakshmi Kannan added 5 commits December 29, 2014 22:18
* A runner param can be declared immutable in action. In this case,
we can use the 'default' value supplied in either runner or action.
We need default to be specified in at least one place.
* Default value for a runner param made immutable in either
runner or action can also come from either.
@Kami
Copy link
Member

Kami commented Dec 29, 2014

LGTM

lakshmi-kannan added a commit that referenced this pull request Dec 29, 2014
@lakshmi-kannan lakshmi-kannan merged commit 3f677d8 into fix_action_registration_validation Dec 29, 2014
@lakshmi-kannan lakshmi-kannan deleted the fix_st2_packs_actions branch January 12, 2015 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants