Skip to content

Automatically close forward-port PRs targeting disabled branches #1198

@xmo-odoo

Description

@xmo-odoo

Initially part of #1175 however was dropped because when forward-porting currently we specifically (and wilfully) ignore closed PRs, so when a branch is disabled if we close all the FW PRs and enqueue them for forward-porting, the second step will just skip them over when it finds the entire batch empty (no open PRs).

It's not entirely clear how to fix this. An easy option would be to collect the open PRs before closing them then creating the FW task with a list of PRs to forcefully port? That doesn't feel very clean.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    ideas

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions