Skip to content

Commit c6e8dc8

Browse files
nekealqwencoder
andcommitted
Fix trailing newlines in workflow templates
- Use {% endraw +%} to preserve trailing newlines in generated files - Fixes end-of-file-fixer hook failures in CI Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
1 parent 5522041 commit c6e8dc8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

{{cookiecutter.project_slug}}/.github/workflows/cookiecutter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ jobs:
7676
title: "[Actions] Auto-Update cookiecutter template"
7777
body: ${{ steps.get_changelog.outputs.changelog }}
7878
branch: chore/auto-update-project-from-template
79-
delete-branch: true{% endraw %}
79+
delete-branch: true{% endraw +%}

{{cookiecutter.project_slug}}/.github/workflows/dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ jobs:
6060
title: "[Actions] Auto-Update dependencies"
6161
body: ${{ steps.get_outdated_dependencies.outputs.body }}
6262
branch: chore/update-dependencies
63-
delete-branch: true{% endraw %}
63+
delete-branch: true{% endraw +%}

0 commit comments

Comments
 (0)