Skip to content

Commit c17f289

Browse files
committed
šŸ› fix: wrap GitHub Actions expressions in {% raw %} blocks in renovate.yaml.jinja
1 parent 9fa6757 commit c17f289

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

ā€Žtemplate/{% if repository_provider == 'github' %}.github{% endif %}/workflows/{% if dependency_updater == 'renovate' %}renovate.yaml{% endif %}.jinjaā€Ž

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ env:
3030

3131
jobs:
3232
renovate:
33-
if: github.event_name != 'issues' || contains(github.event.issue.title, 'Dependency Dashboard')
33+
if: {% raw %}github.event_name != 'issues' || contains(github.event.issue.title, 'Dependency Dashboard'){% endraw %}
3434
runs-on: ubuntu-latest
3535
timeout-minutes: 30
3636
steps:
@@ -42,22 +42,22 @@ jobs:
4242
id: app_token
4343
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3
4444
with:
45-
app-id: ${{ secrets.RENOVATE_APP_ID }}
46-
private-key: ${{ secrets.RENOVATE_APP_PRIVATE_KEY }}
47-
owner: ${{ github.repository_owner }}
48-
repositories: ${{ github.event.repository.name }}
45+
app-id: {% raw %}${{ secrets.RENOVATE_APP_ID }}{% endraw %}
46+
private-key: {% raw %}${{ secrets.RENOVATE_APP_PRIVATE_KEY }}{% endraw %}
47+
owner: {% raw %}${{ github.repository_owner }}{% endraw %}
48+
repositories: {% raw %}${{ github.event.repository.name }}{% endraw %}
4949

5050
{% endif %}
5151
- name: Run Renovate
5252
uses: renovatebot/github-action@0b17c4eb901eca44d018fb25744a50a74b2042df # v46.1.4
5353
with:
54-
renovate-version: ${{ env.RENOVATE_VERSION }}
54+
renovate-version: {% raw %}${{ env.RENOVATE_VERSION }}{% endraw %}
5555
{% if renovate_auth_method == 'github_app' %}
56-
token: ${{ steps.app_token.outputs.token }}
56+
token: {% raw %}${{ steps.app_token.outputs.token }}{% endraw %}
5757
{% else %}
58-
token: ${{ secrets.RENOVATE_TOKEN }}
58+
token: {% raw %}${{ secrets.RENOVATE_TOKEN }}{% endraw %}
5959
{% endif %}
6060
configurationFile: renovate.json5
6161
env:
62-
LOG_LEVEL: ${{ inputs.log_level || 'info' }}
63-
RENOVATE_REPOSITORIES: ${{ github.repository }}
62+
LOG_LEVEL: {% raw %}${{ inputs.log_level || 'info' }}{% endraw %}
63+
RENOVATE_REPOSITORIES: {% raw %}${{ github.repository }}{% endraw %}

0 commit comments

Comments
Ā (0)