Skip to content

Use redirect.github.com for linked PRs in GitHub pull request body #6988

@lemeurherve

Description

@lemeurherve

Is your feature request related to a problem?

Currently updatecli puts all references to pull requests from an update behind a code block to avoid GitHub creating references in those referenced PRs.

Solution you'd like

Use redirect.github.com for linked PRs in GitHub pull request body so we can get them in updatecli pull request body without putting them behind a code block, while avoiding creating noisy GitHub references in pull requests integrated in the updatecli target update.

Ex from jenkinsci/packaging#541:

([#628](https://redirect.github.com/ansible-community/ansible-build-data/issues/628))

Alternatives you've considered

No response

Anything else?

We still need to take care of escaping user @mentions.

One possible trick is to put a ZWSP (https://en.wikipedia.org/wiki/Zero-width_space) between @ and the username.

Ex: @​olblak ([@​olblak](https://github.com/olblak)) versus @olblak

Ref:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions