Skip to content

Update PR title when updating existing PR #309

@joffrey-bion

Description

@joffrey-bion

When a PR already exists for the branch, the PR title given in the action is ignored and the existing title is used.
It would be great if the title was used to update the PR title if it's different.

Some background / use case: I have a workflow where I update some JSON protocol descriptors, which I use to generate code and make a PR to my repo. I still want to review these PRs and thus merge manually. Since the workflow runs every day, sometimes there are multiple protocol updates before I merge the PR, so the PR is updated multiple times.

My problem is that the new version of the protocol is in the PR title, so when there is an existing PR, I would like my dynamic title from the github action to be used to update the PR. I use PR titles in changelog, so they are important to me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions