Skip to content

Add split pull request templates#1919

Merged
beckermr merged 1 commit intoconda-forge:mainfrom
mgorny:multitemplate
Mar 6, 2026
Merged

Add split pull request templates#1919
beckermr merged 1 commit intoconda-forge:mainfrom
mgorny:multitemplate

Conversation

@mgorny
Copy link
Contributor

@mgorny mgorny commented Mar 5, 2026

Add split templates for all the five paths our pull requests take. This makes it possible to use a parameter such as ?template=archive.md to display a more specific template than the base one (which remains the default). These templates can be used in the future to facilitate easier pull request workflows.

Initially, the text is mostly unchanged from the base template, except where the information was irrelevant.

Bug #535

CC @jaimergp

@mgorny
Copy link
Contributor Author

mgorny commented Mar 5, 2026

For my test notes, see #535 (comment).

@jaimergp
Copy link
Member

jaimergp commented Mar 6, 2026

Did you experiment with "forwarding" default like in https://stackoverflow.com/a/75030350?

@mgorny mgorny marked this pull request as ready for review March 6, 2026 19:01
@mgorny mgorny requested a review from a team as a code owner March 6, 2026 19:01
@mgorny
Copy link
Contributor Author

mgorny commented Mar 6, 2026

Oh, nice idea! It seems to work for me.

@beckermr
Copy link
Member

beckermr commented Mar 6, 2026

Uhhhhh I think I merged the wrong PR?

@mgorny
Copy link
Contributor Author

mgorny commented Mar 6, 2026

Nah, it's all good. I just need to rebase.

Add split templates for all the five paths our pull requests take.  This
makes it possible to use a parameter such as `?template=archive.md` to
display a more specific template than the base one (which remains the
default).  These templates can be used in the future to facilitate
easier pull request workflows.

Initially, the text is mostly unchanged from the base template, except
where the information was irrelevant.

Bug conda-forge#535

Signed-off-by: Michał Górny <mgorny@quansight.com>
@beckermr beckermr merged commit fa2f40c into conda-forge:main Mar 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants