Skip to content

Add files as generated to file .gitattributes #795

@ckunki

Description

@ckunki

When initializing a project with cookiecutter using PTB project-template, most of the GitHub workflows are generated by PTB / cookiecutter.

So by default, PTB could add these files as "generated" to file .gitattributes.

  • File slow-checks.yml should not be marked as "generated"
  • Paths inside file .gitattributes could start with a slash / to avoid matching files with identical names in subdirectories
  • Maybe the following files and folders should me marked as "generated", as well?
    • .pre-commit-config.yaml
    • folder doc/_static/ (although GitHub only hides text files, not svg, when marked as "generated")
    • SECURITY.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureProduct feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions