# \#templates

**URL:** https://forum.gitlab.com/tag/templates/75.md

[Latest](https://forum.gitlab.com/latest.md) · [Categories](https://forum.gitlab.com/categories.md) · [Tags](https://forum.gitlab.com/tags.md)

---

## [Redundant name in single ci/cd component repo](https://forum.gitlab.com/t/redundant-name-in-single-ci-cd-component-repo/101154)

<div class="topic-metadata">

**Author:** [@rossbeehler-pg](https://forum.gitlab.com/u/rossbeehler-pg)\
**Replies:** 1\
**Last updated:** [May 19, 2025, 5:04pm UTC](https://forum.gitlab.com/t/redundant-name-in-single-ci-cd-component-repo/101154 "2025-05-19T17:04:11Z")

</div>

I want to split all my ci/cd components into separate repos so they can be versioned/managed separately. However, this forces my users to add an unnatural redundant name when referencing each component. Using the docum…

---

## [Managing Job Flows and Dependencies Across GitLab Components](https://forum.gitlab.com/t/managing-job-flows-and-dependencies-across-gitlab-components/123920)

<div class="topic-metadata">

**Author:** [@andjoe](https://forum.gitlab.com/u/andjoe)\
**Replies:** 0\
**Last updated:** [April 4, 2025, 11:48am UTC](https://forum.gitlab.com/t/managing-job-flows-and-dependencies-across-gitlab-components/123920 "2025-04-04T11:48:36Z")

</div>

We’ve been adopting GitLab CI/CD components across our pipelines to improve reuse and standardization. While this has worked well on a job-by-job basis, we’re running into some challenges when trying to define sequences …

---

## [Are the "Templates" local functionality will be stop support in future by Gitlab?](https://forum.gitlab.com/t/are-the-templates-local-functionality-will-be-stop-support-in-future-by-gitlab/121524)

<div class="topic-metadata">

**Author:** [@ApoSkunz](https://forum.gitlab.com/u/ApoSkunz)\
**Replies:** 3\
**Last updated:** [March 6, 2025, 10:16am UTC](https://forum.gitlab.com/t/are-the-templates-local-functionality-will-be-stop-support-in-future-by-gitlab/121524 "2025-03-06T10:16:57Z")

</div>

Hello ! I am a French engineer specialized in DevSecOps culture, sorry in advance for English. My Ops who maintain Gitlab Infra tell me that Gitlab will no longer support “Templates” in the future, including local templ…

---

## [Issue when extending stages with dependencies](https://forum.gitlab.com/t/issue-when-extending-stages-with-dependencies/121253)

<div class="topic-metadata">

**Author:** [@captain1701](https://forum.gitlab.com/u/captain1701)\
**Replies:** 0\
**Last updated:** [February 13, 2025, 3:01pm UTC](https://forum.gitlab.com/t/issue-when-extending-stages-with-dependencies/121253 "2025-02-13T15:01:10Z")

</div>

Hi, we using Gitlab Free self-managed and are having a template repository which we are consuming in our pipeline files in each repository. These templates include full stages for general purposes, like a sanity check …

---

## [Group or Instance level default merge request template](https://forum.gitlab.com/t/group-or-instance-level-default-merge-request-template/61653)

<div class="topic-metadata">

**Author:** [@bgrupczy](https://forum.gitlab.com/u/bgrupczy)\
**Replies:** 5\
**Last updated:** [February 4, 2025, 1:50pm UTC](https://forum.gitlab.com/t/group-or-instance-level-default-merge-request-template/61653 "2025-02-04T13:50:11Z")

</div>

We use GL Premium on premises. Many projects per group. Was looking to enforce a single default MR template across all projects within a group or even the entire instance. (Possibly overridden if a project has a default …

---

## [Customize project template generation](https://forum.gitlab.com/t/customize-project-template-generation/120744)

<div class="topic-metadata">

**Author:** [@matojsc](https://forum.gitlab.com/u/matojsc)\
**Replies:** 0\
**Last updated:** [February 3, 2025, 2:39pm UTC](https://forum.gitlab.com/t/customize-project-template-generation/120744 "2025-02-03T14:39:13Z")

</div>

Problem to solve We use project templates to specify all files and some template content for our users. Users then create their projects from our templates. Our templates evolve over time and we didn’t like that project…

---

## [Component with array input that supports concatenation](https://forum.gitlab.com/t/component-with-array-input-that-supports-concatenation/117347)

<div class="topic-metadata">

**Author:** [@hartigan](https://forum.gitlab.com/u/hartigan)\
**Replies:** 2\
**Last updated:** [December 5, 2024, 5:27pm UTC](https://forum.gitlab.com/t/component-with-array-input-that-supports-concatenation/117347 "2024-12-05T17:27:59Z")

</div>

Problem to solve When using a component, I’d like to use an array input, specifically for the tags used by the runner, and then check for the existence of a tag that should always exist. If that tag does not exist, I’d …

---

## [Mandating governance  jobs in a pipeline.](https://forum.gitlab.com/t/mandating-governance-jobs-in-a-pipeline/116002)

<div class="topic-metadata">

**Author:** [@maverick](https://forum.gitlab.com/u/maverick)\
**Replies:** 5\
**Last updated:** [November 11, 2024, 12:05pm UTC](https://forum.gitlab.com/t/mandating-governance-jobs-in-a-pipeline/116002 "2024-11-11T12:05:56Z")

</div>

:hugs: Please help fill in this template with all the details to help others help you more efficiently. Use formatting blocks for code, config, logs and ensure to remove sensitive data. Problem to solve Describe your q…

---

## [Create flat, compressed templates without history](https://forum.gitlab.com/t/create-flat-compressed-templates-without-history/105499)

<div class="topic-metadata">

**Author:** [@anconrad](https://forum.gitlab.com/u/anconrad)\
**Replies:** 1\
**Last updated:** [May 31, 2024, 4:14pm UTC](https://forum.gitlab.com/t/create-flat-compressed-templates-without-history/105499 "2024-05-31T16:14:27Z")

</div>

Problem to solve We want to provide Instance and Group wide templates for some of our tech stacks. This is already working, but templates are one to one copys of the template project itself (e.g. contain all commits, br…

---

## [Updating Instance Templates](https://forum.gitlab.com/t/updating-instance-templates/103483)

<div class="topic-metadata">

**Author:** [@hanserasmus](https://forum.gitlab.com/u/hanserasmus)\
**Replies:** 0\
**Last updated:** [April 25, 2024, 8:52am UTC](https://forum.gitlab.com/t/updating-instance-templates/103483 "2024-04-25T08:52:22Z")

</div>

Hi everyone I am playing around with creating instance templates and was wondering how an existing project, using an instance template file, will be updated if the templates project is updated? Example: I create an ins…

---

## [Does there exist the ability to setup tag release templates in gitlab?](https://forum.gitlab.com/t/does-there-exist-the-ability-to-setup-tag-release-templates-in-gitlab/102424)

<div class="topic-metadata">

**Author:** [@jaliss](https://forum.gitlab.com/u/jaliss)\
**Replies:** 0\
**Last updated:** [April 4, 2024, 6:15pm UTC](https://forum.gitlab.com/t/does-there-exist-the-ability-to-setup-tag-release-templates-in-gitlab/102424 "2024-04-04T18:15:17Z")

</div>

I found the following tutorial to make pre-built templates for MRs and issues: Description templates | GitLab. But no information on how to created similar templates for tag releases…am I missing something here?

---

## [BUG: with 2 templates with same name I cannot use the second one](https://forum.gitlab.com/t/bug-with-2-templates-with-same-name-i-cannot-use-the-second-one/82750)

<div class="topic-metadata">

**Author:** [@guglielmo-bs](https://forum.gitlab.com/u/guglielmo-bs)\
**Replies:** 1\
**Last updated:** [February 13, 2024, 2:55pm UTC](https://forum.gitlab.com/t/bug-with-2-templates-with-same-name-i-cannot-use-the-second-one/82750 "2024-02-13T14:55:23Z")

</div>

If I have 2 templates with same name I cannot use the second one, the first gets selected. group structure: group + general-templates + templates - template + project-1 + templates …

---

## [CI/CD components - access file content within the component](https://forum.gitlab.com/t/ci-cd-components-access-file-content-within-the-component/97655)

<div class="topic-metadata">

**Author:** [@MadJlzz](https://forum.gitlab.com/u/MadJlzz)\
**Replies:** 1\
**Last updated:** [January 3, 2024, 2:05pm UTC](https://forum.gitlab.com/t/ci-cd-components-access-file-content-within-the-component/97655 "2024-01-03T14:05:42Z")

</div>

Hello, I have a component with the following directory structure: ├── LICENSE.md ├── README.md └── templates └── lint ├── configuration.yaml └── template.yml Inside my template.yml, I am calling a c…

---

## [Not being able to include gitlab-ci template from private project](https://forum.gitlab.com/t/not-being-able-to-include-gitlab-ci-template-from-private-project/89745)

<div class="topic-metadata">

**Author:** [@sebmezza](https://forum.gitlab.com/u/sebmezza)\
**Replies:** 2\
**Last updated:** [July 14, 2023, 6:23am UTC](https://forum.gitlab.com/t/not-being-able-to-include-gitlab-ci-template-from-private-project/89745 "2023-07-14T06:23:20Z")

</div>

Hello and good day. I would like to be able to include a template gitlab-ci file in project A which is located in another private project B. I am including the file via include: remote: "https://gitlab-ci-token:$CI…

---

## [\[SOLVED\]Override "before\_script" and "tags" using include template (SAST / Secret Detection)](https://forum.gitlab.com/t/solved-override-before-script-and-tags-using-include-template-sast-secret-detection/52346)

<div class="topic-metadata">

**Author:** [@unclej84](https://forum.gitlab.com/u/unclej84)\
**Replies:** 4\
**Last updated:** [April 6, 2023, 3:56am UTC](https://forum.gitlab.com/t/solved-override-before-script-and-tags-using-include-template-sast-secret-detection/52346 "2023-04-06T03:56:09Z")

</div>

Hello, I am trying to include the default gitlab templates for SAST and secret detection into my .gitlab-ci.yml using include template as stated in the documentation (like here). Unfortunately my pipeline definition alr…

---

## [Rspec tests for custom jobs/pipelines](https://forum.gitlab.com/t/rspec-tests-for-custom-jobs-pipelines/83448)

<div class="topic-metadata">

**Author:** [@head](https://forum.gitlab.com/u/head)\
**Replies:** 0\
**Last updated:** [March 17, 2023, 2:33pm UTC](https://forum.gitlab.com/t/rspec-tests-for-custom-jobs-pipelines/83448 "2023-03-17T14:33:09Z")

</div>

Sometimes pipelines get more and more complex. Is it possible to write rspec tests for custom jobs/pipelines like templates (e.g. spec/lib/gitlab/ci/templates/flutter\_gitlab\_ci\_yaml\_spec.rb · master · GitLab.org / GitLab…

---

## [Create issues from issue\_templates via Python API](https://forum.gitlab.com/t/create-issues-from-issue-templates-via-python-api/83034)

<div class="topic-metadata">

**Author:** [@ctx\_mebert](https://forum.gitlab.com/u/ctx_mebert)\
**Replies:** 0\
**Last updated:** [March 9, 2023, 4:28pm UTC](https://forum.gitlab.com/t/create-issues-from-issue-templates-via-python-api/83034 "2023-03-09T16:28:04Z")

</div>

I am trying to use the python api for gitlab (python-gitlab==3.13.0) to generate automatically new issues based on issue templates in an existing project. while I am able to create issues by giving a title/description I …

---

## [Problem with submodule in project template](https://forum.gitlab.com/t/problem-with-submodule-in-project-template/82676)

<div class="topic-metadata">

**Author:** [@guglielmo-bs](https://forum.gitlab.com/u/guglielmo-bs)\
**Replies:** 0\
**Last updated:** [March 2, 2023, 1:51pm UTC](https://forum.gitlab.com/t/problem-with-submodule-in-project-template/82676 "2023-03-02T13:51:22Z")

</div>

Problem with submodule in project template Hello, I’m using gitlab.com and I have the following group/repository structure: org + projects + project-1 - project-1-repo-a - project-1-repo-b + template…

---

## [Create from Template - GL CE 15.8.3 - import/install and use updated project templates?](https://forum.gitlab.com/t/create-from-template-gl-ce-15-8-3-import-install-and-use-updated-project-templates/81952)

<div class="topic-metadata">

**Author:** [@jefilla](https://forum.gitlab.com/u/jefilla)\
**Replies:** 0\
**Last updated:** [February 17, 2023, 8:08pm UTC](https://forum.gitlab.com/t/create-from-template-gl-ce-15-8-3-import-install-and-use-updated-project-templates/81952 "2023-02-17T20:08:16Z")

</div>

When I attempt to create project using templates (ex: spring) “old” templates appear to be available. GitLab.org / project-templates / spring · GitLab has updated templates. Is there a mechanism to “install” or deploy …

---

## [Select MR template automatically](https://forum.gitlab.com/t/select-mr-template-automatically/76962)

<div class="topic-metadata">

**Author:** [@adnako](https://forum.gitlab.com/u/adnako)\
**Replies:** 0\
**Last updated:** [October 31, 2022, 12:33pm UTC](https://forum.gitlab.com/t/select-mr-template-automatically/76962 "2022-10-31T12:33:34Z")

</div>

Is it possible to choose an MR template automatically on creation depending on, for an instance, a branch it is target to?

---

## [Template Pipeline not acting as i'd expect](https://forum.gitlab.com/t/template-pipeline-not-acting-as-id-expect/75291)

<div class="topic-metadata">

**Author:** [@jrich523](https://forum.gitlab.com/u/jrich523)\
**Replies:** 1\
**Last updated:** [September 21, 2022, 9:32am UTC](https://forum.gitlab.com/t/template-pipeline-not-acting-as-id-expect/75291 "2022-09-21T09:32:08Z")

</div>

Im trying to use the Terraform Template and I’ve noticed something strange about how its working. Im using this template Which is basically calling this one and this one The only rule is for the Terraform Apply to…

---

## [Jira integration deletes default MR description template](https://forum.gitlab.com/t/jira-integration-deletes-default-mr-description-template/67579)

<div class="topic-metadata">

**Author:** [@burak.yilmaz](https://forum.gitlab.com/u/burak.yilmaz)\
**Replies:** 3\
**Last updated:** [September 14, 2022, 8:32am UTC](https://forum.gitlab.com/t/jira-integration-deletes-default-mr-description-template/67579 "2022-09-14T08:32:41Z")

</div>

Hi, I have a default MR description template under “.gitlab/merge\_request\_templates/default.md”. When I create a branch with a name that is not associated with a jira issue (i.e. not something like PROJ-123), GitLab us…

---

## [Custom Project Templates option not available in GitLab.com Ultimate trial](https://forum.gitlab.com/t/custom-project-templates-option-not-available-in-gitlab-com-ultimate-trial/58346)

<div class="topic-metadata">

**Author:** [@marknuttallsmith](https://forum.gitlab.com/u/marknuttallsmith)\
**Replies:** 1\
**Last updated:** [July 27, 2022, 9:30am UTC](https://forum.gitlab.com/t/custom-project-templates-option-not-available-in-gitlab-com-ultimate-trial/58346 "2022-07-27T09:30:33Z")

</div>

Hi, I’d like to try using custom project templates during my gitlab.com ultimate trial, however I don’t see this option in the group-\>settings-\>general section, as shown here: Setting Up GitLab CI: Group level Project T…

---

## [Using Description Templates for Epics?](https://forum.gitlab.com/t/using-description-templates-for-epics/71817)

<div class="topic-metadata">

**Author:** [@jhuitema](https://forum.gitlab.com/u/jhuitema)\
**Replies:** 2\
**Last updated:** [July 4, 2022, 4:46pm UTC](https://forum.gitlab.com/t/using-description-templates-for-epics/71817 "2022-07-04T16:46:45Z")

</div>

Is it possible to use Description Templates for Group Epics? At my company, we are starting to use epics more to track our initiatives. These work great but we also want to standardize the content and descriptions of the…

---

## [Runner reboot with multiple replicas with agents](https://forum.gitlab.com/t/runner-reboot-with-multiple-replicas-with-agents/70179)

<div class="topic-metadata">

**Author:** [@liyifango](https://forum.gitlab.com/u/liyifango)\
**Replies:** 7\
**Last updated:** [June 13, 2022, 12:35pm UTC](https://forum.gitlab.com/t/runner-reboot-with-multiple-replicas-with-agents/70179 "2022-06-13T12:35:51Z")

</div>

I refer to Manage cluster applications | GitLab to deploy kubernetes agent and deploy gitlab-runner with replicas: 2. this is my applications/gitlab-runner/values.yaml.gotmpl ## REQUIRED VALUES gitlabUrl: {{ requiredEn…

---

## [GitLab - CI/CD template access problem with token](https://forum.gitlab.com/t/gitlab-ci-cd-template-access-problem-with-token/70043)

<div class="topic-metadata">

**Author:** [@davidbailo](https://forum.gitlab.com/u/davidbailo)\
**Replies:** 3\
**Last updated:** [May 27, 2022, 10:08am UTC](https://forum.gitlab.com/t/gitlab-ci-cd-template-access-problem-with-token/70043 "2022-05-27T10:08:31Z")

</div>

My problem is a little complicated, so I try to describe it precisely: We have a ci template in GitLab Project A, which is included in Project B. It works fine, as long as I am the triggerer of a pipeline. But when the …

---

## [Dependency Scanning via Gemnasium template - "ERROR: Could not find a version that satisfies the requirement"](https://forum.gitlab.com/t/dependency-scanning-via-gemnasium-template-error-could-not-find-a-version-that-satisfies-the-requirement/62552)

<div class="topic-metadata">

**Author:** [@SirSteel](https://forum.gitlab.com/u/SirSteel)\
**Replies:** 1\
**Last updated:** [May 2, 2022, 2:32pm UTC](https://forum.gitlab.com/t/dependency-scanning-via-gemnasium-template-error-could-not-find-a-version-that-satisfies-the-requirement/62552 "2022-05-02T14:32:57Z")

</div>

Hello, I have been trying to set up the dependency scanning for a Python project and have been struggling with some puzzling errors. I always get this particular error in the debug: ERROR: Could not find a version th…

---

## [How to inherit template from a group?](https://forum.gitlab.com/t/how-to-inherit-template-from-a-group/68054)

<div class="topic-metadata">

**Author:** [@prolink007](https://forum.gitlab.com/u/prolink007)\
**Replies:** 1\
**Last updated:** [April 9, 2022, 10:58am UTC](https://forum.gitlab.com/t/how-to-inherit-template-from-a-group/68054 "2022-04-09T10:58:17Z")

</div>

Gitlab 14.10 or latest. The documentation for templates mentions: Projects inherit the templates defined at a higher level. How? I don’t see a way to create a template at a group level and have all my subgroups and…

---

## [Secret Detection Scanner - Scans only 1 commit?](https://forum.gitlab.com/t/secret-detection-scanner-scans-only-1-commit/67960)

<div class="topic-metadata">

**Author:** [@cf-amber-beasley](https://forum.gitlab.com/u/cf-amber-beasley)\
**Replies:** 2\
**Last updated:** [April 7, 2022, 8:17pm UTC](https://forum.gitlab.com/t/secret-detection-scanner-scans-only-1-commit/67960 "2022-04-07T20:17:39Z")

</div>

It is normal for the Secret Detection scanner to only scan the last commit? (1 commit) Expected behavior? When using the Secret Detection job from GitLab’s templates in a pipeline created from a Merge Request, the sc…

---

## [Best way to clone a repo to a new one with the REST API?](https://forum.gitlab.com/t/best-way-to-clone-a-repo-to-a-new-one-with-the-rest-api/66508)

<div class="topic-metadata">

**Author:** [@csmykay](https://forum.gitlab.com/u/csmykay)\
**Replies:** 3\
**Last updated:** [March 9, 2022, 5:18pm UTC](https://forum.gitlab.com/t/best-way-to-clone-a-repo-to-a-new-one-with-the-rest-api/66508 "2022-03-09T17:18:29Z")

</div>

Hello, I am working on a project where I have complete end-to-end gitOps deployment through the REST API. I need to be able to clone a project repo from a template to another project from the REST API. From reading th…

[Next page](https://forum.gitlab.com/tag/templates/75.md?match_all_tags=true&page=1&tags%5B%5D=templates)
