Skip to content

Fix generated workflow file formatting and remove Codecov slug#61

Merged
gowthamrao merged 1 commit into
commit03from
fix-workflows-and-slug-10987888525268074340
Jan 13, 2026
Merged

Fix generated workflow file formatting and remove Codecov slug#61
gowthamrao merged 1 commit into
commit03from
fix-workflows-and-slug-10987888525268074340

Conversation

@google-labs-jules
Copy link
Copy Markdown
Contributor

This PR addresses reported pre-commit failures in projects generated by the Cookiecutter template. Specifically, it resolves the end-of-file-fixer failure caused by extra newlines in the generated GitHub Actions workflow files. It also removes the optional slug parameter from the Codecov action configuration to simplify the setup and avoid potential confusion or warnings for non-Enterprise users.

Changes:

  • In {{cookiecutter.project_slug}}/.github/workflows/ci-cd.yml: Moved {% endraw %} to prevent double newline and removed slug input.
  • In {{cookiecutter.project_slug}}/.github/workflows/docker.yml: Moved {% endraw %} to prevent double newline.
  • In {{cookiecutter.project_slug}}/.github/workflows/publish.yml: Moved {% endraw %} to prevent double newline.

Verification:

  • Generated a test project using the updated template.
  • Ran pre-commit run --all-files in the generated project, confirming all hooks pass (including end-of-file-fixer).
  • Ran tests in the generated project to ensure no regressions.

PR created automatically by Jules for task 10987888525268074340 started by @gowthamrao

- 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.
@google-labs-jules
Copy link
Copy Markdown
Contributor Author

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@gowthamrao gowthamrao marked this pull request as ready for review January 13, 2026 04:57
@gowthamrao gowthamrao merged commit f55f0da into commit03 Jan 13, 2026
@gowthamrao gowthamrao deleted the fix-workflows-and-slug-10987888525268074340 branch January 13, 2026 04:57
gowthamrao added a commit that referenced this pull request Jan 13, 2026
…88525268074340 (#62)

Fix generated workflow file formatting and remove Codecov slug

f55f0da
gowthamrao added a commit that referenced this pull request Jan 13, 2026
…88525268074340 (#62) (#63)

Fix generated workflow file formatting and remove Codecov slug

f55f0da
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant