From 64cad9301f87ca441d5986550cc98acee8436da9 Mon Sep 17 00:00:00 2001 From: Matthias Dellweg Date: Thu, 14 Dec 2023 15:30:47 +0100 Subject: [PATCH] Add proper indentation to pre_post_job_template [noissue] --- templates/github/.github/workflows/ci.yml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/github/.github/workflows/ci.yml.j2 b/templates/github/.github/workflows/ci.yml.j2 index e5a44af6..79c2006f 100644 --- a/templates/github/.github/workflows/ci.yml.j2 +++ b/templates/github/.github/workflows/ci.yml.j2 @@ -19,7 +19,7 @@ defaults: jobs: {%- if pre_job_template %} - {% include pre_job_template.path %} + {% include pre_job_template.path | indent(2) %} {%- endif %} {%- if check_commit_message or lint_requirements %} check-commits: @@ -96,5 +96,5 @@ jobs: echo {{ "'${{toJson(needs)}}'" }} | jq -e 'to_entries|map(select(.value.result!="success"))|length == 0' echo "CI says: Looks good!" {%- if post_job_template %} - {% include post_job_template.path %} + {% include post_job_template.path | indent (2) %} {%- endif %}