From 93196184cd1421e4211ac276dd20ab2f7a79a474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enis=20Muli=C4=87?= Date: Fri, 3 Nov 2023 20:26:42 +0100 Subject: [PATCH] chore: add placeholders for pull request templates and azure devops pipelines --- .azuredevops/pipelines/ci.yml | 1 + .azure/.gitkeep => .azuredevops/pull_request_template.md | 0 .github/pull_request_template.md | 0 .template.config/template.json | 8 ++++---- 4 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 .azuredevops/pipelines/ci.yml rename .azure/.gitkeep => .azuredevops/pull_request_template.md (100%) create mode 100644 .github/pull_request_template.md diff --git a/.azuredevops/pipelines/ci.yml b/.azuredevops/pipelines/ci.yml new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.azuredevops/pipelines/ci.yml @@ -0,0 +1 @@ + diff --git a/.azure/.gitkeep b/.azuredevops/pull_request_template.md similarity index 100% rename from .azure/.gitkeep rename to .azuredevops/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..e69de29 diff --git a/.template.config/template.json b/.template.config/template.json index ee58159..f4fb0fe 100644 --- a/.template.config/template.json +++ b/.template.config/template.json @@ -20,7 +20,7 @@ "description": "Use Github" }, { - "choice": "Azure", + "choice": "AzureDevOps", "description": "Use Azure DevOps" }, { @@ -37,7 +37,7 @@ }, "UseAzureDevOps": { "type": "computed", - "value": "(GitHost == \"Azure\")" + "value": "(GitHost == \"AzureDevOps\")" }, "UseNoGitHost": { "type": "computed", @@ -51,7 +51,7 @@ "modifiers": [ { "condition": "(UseGithub)", - "exclude": [".azure/**"] + "exclude": [".azuredevops/**"] }, { "condition": "(UseAzureDevOps)", @@ -59,7 +59,7 @@ }, { "condition": "(UseNoGitHost)", - "exclude": [".azure/**", ".github/**"] + "exclude": [".azuredevops/**", ".github/**"] } ] }