Skip to content

Repository templates ignoring .gitea/template and including everything #27336

@andrewimeson

Description

@andrewimeson

Description

Given a repository template (demonstration template) with a .gitea/template file populated according to the documentation, Gitea is ignoring the .gitea/template file and just including all files when you create from template (demonstration template deploy repo). In the linked example files other than README.md and .pre-commit-config.yaml are included when deploying the template, which they shouldn't be.

Gitea Version

1.20.4

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Linux / Kubernetes

How are you running Gitea?

Official Helm Chart v9.4.0

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailtype/docsThis PR mainly updates/creates documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions