From 7cb256f9a6c4cbaa498174121aa5998cd6e003d6 Mon Sep 17 00:00:00 2001 From: Saumyajit P <86034982+AgSpades@users.noreply.github.com> Date: Sun, 18 May 2025 09:44:33 +0530 Subject: [PATCH 1/3] fix: update pull request template links to properly reload appropriate template from subdirectory --- .github/pull_request_template.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 4a5da46aee..f94135f64e 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -5,6 +5,6 @@ please switch to **Preview** for links to render properly. Please choose the right template for your pull request: -- 🐛 Are you fixing a bug? [Bug fix](?template=bug_fix.md) -- 📈 Are you improving performance? [Performance improvement](?template=performance_improvement.md) -- 💻 Are you changing functionality? [Feature change](?template=feature_change.md) +- 🐛 Are you fixing a bug? [Bug fix](?template=bug_fix) +- 📈 Are you improving performance? [Performance improvement](?template=performance_improvement) +- 💻 Are you changing functionality? [Feature change](?template=feature_change) From 73105235402b5bf87c222486106a0160bd226dda Mon Sep 17 00:00:00 2001 From: Saumyajit P <86034982+AgSpades@users.noreply.github.com> Date: Sun, 18 May 2025 10:04:25 +0530 Subject: [PATCH 2/3] fix: update PR template links to use full paths Updated pull request template links to point to the correct `.github/PULL_REQUEST_TEMPLATE/*.md` files for proper rendering and navigation. --- .github/pull_request_template.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index f94135f64e..bbe2f309a1 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -5,6 +5,6 @@ please switch to **Preview** for links to render properly. Please choose the right template for your pull request: -- 🐛 Are you fixing a bug? [Bug fix](?template=bug_fix) -- 📈 Are you improving performance? [Performance improvement](?template=performance_improvement) -- 💻 Are you changing functionality? [Feature change](?template=feature_change) +- 🐛 Are you fixing a bug? [Bug fix](?template=.github/PULL_REQUEST_TEMPLATE/bug_fix.md) +- 📈 Are you improving performance? [Performance improvement](?template=.github/PULL_REQUEST_TEMPLATE/performance_improvement.md) +- 💻 Are you changing functionality? [Feature change](?template=.github/PULL_REQUEST_TEMPLATE/feature_change.md) From 0e463b8aeb48a011f37da522a574c71564120636 Mon Sep 17 00:00:00 2001 From: Saumyajit P <86034982+AgSpades@users.noreply.github.com> Date: Sun, 18 May 2025 20:44:20 +0530 Subject: [PATCH 3/3] fix: template rendering with required 'expand' query parameter The issue wasn't with the path itself, but with GitHub requiring the additional 'expand=1' query parameter for proper template rendering. This change ensures the correct behavior when selecting pull request templates. --- .github/pull_request_template.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index bbe2f309a1..a58c86f015 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -5,6 +5,6 @@ please switch to **Preview** for links to render properly. Please choose the right template for your pull request: -- 🐛 Are you fixing a bug? [Bug fix](?template=.github/PULL_REQUEST_TEMPLATE/bug_fix.md) -- 📈 Are you improving performance? [Performance improvement](?template=.github/PULL_REQUEST_TEMPLATE/performance_improvement.md) -- 💻 Are you changing functionality? [Feature change](?template=.github/PULL_REQUEST_TEMPLATE/feature_change.md) +- 🐛 Are you fixing a bug? [Bug fix](?expand=1&template=bug_fix.md) +- 📈 Are you improving performance? [Performance improvement](?expand=1&template=performance_improvement.md) +- 💻 Are you changing functionality? [Feature change](?expand=1&template=feature_change.md)