Skip to content

Commit 290205d

Browse files
committed
More jinja fixes
1 parent 04135c0 commit 290205d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template/.github/workflows/scorecard.yml.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
# `publish_results: true` only works when run from the default branch. conditional can be removed if disabled.
2727
{%- endraw -%}
28-
{% set github_repo_url = github_url.split("/")[-2:] %}
28+
{%- set github_repo_url = github_url.split("/")[-2:] -%}
2929
if: (github.event.repository.default_branch == github.ref_name || github.event_name == 'pull_request') && github.repository == '{{ github_repo_url|join("/") }}'
3030
{% raw %}
3131
permissions:
@@ -81,4 +81,4 @@ jobs:
8181
uses: github/codeql-action/upload-sarif@97a2bfd2a3d26d458da69e548f7f859d6fca634d # v3.28.15
8282
with:
8383
sarif_file: results.sarif
84-
{%- endraw -%}
84+
{%- endraw %}

0 commit comments

Comments
 (0)