TemplatableInt32 represents an integer frontmatter field that also accepts GitHub Actions expression strings (e.g. "${{ inputs.timeout }}"). The underlying value is always stored as a string: numeric literals as their decimal representation, expressions verbatim. Use *TemplatableInt32 in struct fi
| 57 | // timeout-minutes: 30 |
| 58 | // timeout-minutes: ${{ inputs.timeout }} |
| 59 | type TemplatableInt32 string |
| 60 | |
| 61 | // UnmarshalJSON allows TemplatableInt32 to accept both JSON numbers (integer |
| 62 | // literals) and JSON strings that are GitHub Actions expressions. |
no outgoing calls
no test coverage detected