Skip to content

Duplicate runs between (applied, force-pushed upstream commit) pull requests and main branch #27

@john-tho

Description

@john-tho

Situation was:
Pull request (PR) open, ready to merge
openwrt/openwrt#13021

Guessing process:
Maintainer picked and applied PR commit, and pushed to git.openwrt.org
Maintainer force-pushed (upstream) commit to PR fork branch, for github bot to mark merged PR.
This triggered CI runs for PR / fork:

Github OpenWrt mirror has picked up the git.openwrt.org changes, and started duplicate CI runs:

Both these sets of CI actions ran on openwrt/openwrt@b3448b3, the first via the PR / fork.
Duplicate usage time was over six hours.

Ideally we detect when a CI run has triggered on an identical git tree state to avoid this.
Choices around what we do here (cancel the PR run?), given different branches can have different actions.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions