In action.yml, an input 'region' is marked 'required: true' and also has 'default: us-east-1'. What should authors understand?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Design clear input contracts: required means callers must supply the input; defaults suit optional inputs. Do not treat defaults as a loophole for confusing required flags.
Full explanation below image
Full Explanation
action.yml inputs support description, required, and default. Best practice: optional inputs use default; truly required inputs omit default and fail fast if missing. Combining required with default is confusing for consumers and linters. Explicit with: values supplied by the caller take precedence over defaults when the input is accepted. Composite, JavaScript, and Docker actions all can declare inputs. Document inputs thoroughly for Marketplace users.