Interpolation of variables
See original GitHub issueIn the
https://github.com/ad-m/github-push-action/blob/master/action.yml#L12 and https://github.com/ad-m/github-push-action/blame/master/README.md#L35
there is interpolation used as {{ secrets.GITHUB_TOKEN }}
and ${GITHUB_REPOSITORY}
.
From the docs I think it should be ${{ <expression> }}
. Should we change it to make it right?
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (10 by maintainers)
Top Results From Across the Web
Interpolating Variables Into a String - Real Python
This video covers interpolating variables into a string. ... In this lesson, you'll learn how to do variable interpolation with f-strings.
Read more >Simple variable interpolation
In Perl, we always use variable interpolation to construct complex strings in which variables are started with special marks (sigil), ...
Read more >PHP Variable Interpolation - Phppot
Variable interpolation is adding variables in between when specifying a string literal. PHP will parse the interpolated variables and ...
Read more >LESS - Variables Interpolation - Tutorialspoint
The variable interpolation is the process of evaluating an expression or literal containing one or more variables, yielding output in which the variables ......
Read more >Interpolation calculator for function of two variables
Two-variable interpolator ... This page will let you interpolate a function of two variables. Specify the value of the function at three given...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In my opinion - since
action.yml
contains all necessary information, there is no reason for users to manually write documentation in regard ofinput
andoutput
. It is prone to erroneous and difficult to automatically verify. If GitHub Marketplace for GitHub Actions will not automatically present the information currently contained inaction.yml
, we will have to updateREADME.md
automatically eg. by another actions. PR #14 is an example that content inREADME.md
andaction.yml
is duplicated and therefore prone to errors.I would not see it as a single tag, but a separate section
<!-- action-doc-start-->...<!-- action-doc-end-->
, which the script would automatically fill. In the event of a change, the script would change the content of the section, and our action could automatically commit the changes. In the absence of any changes, the script would not change the content of the section, so there would be no changes to be posted.It’s possible that others are waiting for GitHub to properly document this.