Skip to content
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

Allow enforcing all GHA expressions are wrapped in ${{}} #501

Open
omus opened this issue Jan 10, 2025 · 1 comment
Open

Allow enforcing all GHA expressions are wrapped in ${{}} #501

omus opened this issue Jan 10, 2025 · 1 comment

Comments

@omus
Copy link

omus commented Jan 10, 2025

GitHub Action expressions typically need to take the form of ${{ <expression> }}. There is an exception to this rule with if clauses are where ${{ }} is optional. I've found it to be easier to read to always include the ${{ }} in if clauses to make it obvious that an expression is used.

Would it be possible to add this as a linting check? Probably this could be optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@omus and others