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

Escape {{ and }} in templates #16

Merged
merged 1 commit into from
Feb 28, 2024
Merged

Escape {{ and }} in templates #16

merged 1 commit into from
Feb 28, 2024

Conversation

lfritz
Copy link
Contributor

@lfritz lfritz commented Feb 28, 2024

Alternative to #13

@@ -21,16 +21,16 @@ jobs:
uses: "google-github-actions/auth@v2"
with:
token_format: access_token
workload_identity_provider: ${{ vars.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ vars.GOOGLE_SERVICE_ACCOUNT }}
workload_identity_provider: ${{"{{"}} vars.GOOGLE_WORKLOAD_IDENTITY_PROVIDER {{"}}"}}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is how you're meant to deal with literal {{ and }} in templates. At least I don't see any other solution in the documenation.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I think this is it indeed... since we dont need to escape in a lot of places maybe it is not that bad x_x

Base automatically changed from fix-missing-hidden-files to main February 28, 2024 15:25
@lfritz lfritz merged commit d3b786c into main Feb 28, 2024
2 checks passed
@lfritz lfritz deleted the use-escaping branch February 28, 2024 15:31
@lfritz lfritz mentioned this pull request Feb 28, 2024
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

Successfully merging this pull request may close these issues.

2 participants