hasExpressionMarker reports whether s contains a GitHub Actions expression opening marker. This is a permissive check used in scenarios where partial expressions should be treated as dynamic values.
(s string)
| 65 | // This is a permissive check used in scenarios where partial expressions should be treated |
| 66 | // as dynamic values. |
| 67 | func hasExpressionMarker(s string) bool { |
| 68 | return strings.Contains(s, "${{") |
| 69 | } |
| 70 | |
| 71 | // containsExpression reports whether s contains a complete non-empty GitHub Actions expression. |
| 72 | // A complete expression has a "${{" marker that appears before a closing "}}" marker |
no outgoing calls