Skip to content

Placeholders are only replaced once #435

@ggwpez

Description

@ggwpez

Describe the bug

Having a description that contains ${pull_number} more than once only results it in being replaced once.
Example here: paritytech/polkadot-sdk#5634

Screenshot 2024-09-09 at 14 05 34

You can see the placeholder only being replaced once.

To Reproduce
Use a placeholder more than once.

Expected behavior
Should replace it everywhere.

Additional context

It should probably use replaceAll instead of replace here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions