-
Notifications
You must be signed in to change notification settings - Fork 748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sprig Functions don't work on dataKey or contextKey #588
Comments
For example:
Does not work, nor removing the leading and trailing spaces from the Sprig template. |
This also fails with:
|
Sprig templates are now available in v0.14.0 |
Closing the issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Input Type: GitHub webhook
Content-type: application/json
I am trying to extract substrings from inputs to make searching via labels easier; for example I am trying to get the branch name, standardize it, and use it as a metadata label. The same can be said for extracting the Git Commit short hash.
Describe the solution you'd like
dataKey can use Spring functions.
e.g.
Describe alternatives you've considered
There aren't any other options.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: