Fix generated workflow file formatting and remove Codecov slug#61
Conversation
- Modifies `.github/workflows/ci-cd.yml`, `docker.yml`, and `publish.yml` in the template to move `{% endraw %}` tags to the end of the previous line. This prevents `end-of-file-fixer` from failing due to trailing newlines in generated files.
- Removes the `slug` input from `codecov/codecov-action` in `ci-cd.yml` as it is an optional Enterprise-only feature that may cause confusion.
- Verified changes by generating a new project and confirming `pre-commit run --all-files` passes.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR addresses reported pre-commit failures in projects generated by the Cookiecutter template. Specifically, it resolves the
end-of-file-fixerfailure caused by extra newlines in the generated GitHub Actions workflow files. It also removes the optionalslugparameter from the Codecov action configuration to simplify the setup and avoid potential confusion or warnings for non-Enterprise users.Changes:
{{cookiecutter.project_slug}}/.github/workflows/ci-cd.yml: Moved{% endraw %}to prevent double newline and removedsluginput.{{cookiecutter.project_slug}}/.github/workflows/docker.yml: Moved{% endraw %}to prevent double newline.{{cookiecutter.project_slug}}/.github/workflows/publish.yml: Moved{% endraw %}to prevent double newline.Verification:
pre-commit run --all-filesin the generated project, confirming all hooks pass (includingend-of-file-fixer).PR created automatically by Jules for task 10987888525268074340 started by @gowthamrao