Skip to content

Commit

Permalink
🐛 fix: jinja was not escaping some variable interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
jzazo committed Dec 10, 2024
1 parent 500cb99 commit a8cb3e2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.cache
.pdm-python
.pdm.toml
.pdm-build

**/*.pyc
**/*.egg-info
Expand Down
6 changes: 3 additions & 3 deletions template/.github/workflows/automerge.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
github-token: {% raw %}"${{ secrets.GITHUB_TOKEN }}"{% endraw %}
- name: Enable auto-merge for Dependabot PRs
if: steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
PR_URL: {% raw %}${{github.event.pull_request.html_url}}{% endraw %}
GH_TOKEN: {% raw %}${{secrets.GITHUB_TOKEN}}{% endraw %}
1 change: 1 addition & 0 deletions template/.gitignore.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.cache
.pdm-python
.pdm.toml
.pdm-build

**/*.pyc
**/*.egg-info
Expand Down

0 comments on commit a8cb3e2

Please sign in to comment.