Why do outputs disappear with "Skip output 'x' since it may contain secret"?
AdvancedConceptContexts, Expressions, Env & Outputs
Answer
The runner refuses to pass a job output whose value contains any registered secret or masked string, to prevent secrets leaking across jobs. It also happens when the output merely contains a masked substring, for example an AWS account ID that is also used as a secret, or a short secret like prod that appears in many values. Fix: do not register non-secret values as secrets (use vars), or pass the data via an artifact, or re-derive it in the downstream job.
More on Contexts, Expressions, Env & Outputs
List the available contexts and what each holds.BeginnerWhich contexts can you use in which keys? Give two examples that trip people up.AdvancedWhat are the expression operators and how do comparisons coerce types?IntermediateHow do you write a ternary in GitHub Actions expressions?IntermediateWhat do `contains`, `startsWith`, `endsWith`, `format` and `join` do?BeginnerWhat are object filters (`.*`) and how are they useful?Intermediate