Skip to content

test-auto-merge: re-running the job reuses the old test-site PR #127

Open

Description

@shimoncohen

test-action-with-labels names its test-site branch auto-merge-e2e-${{ github.sha }}. Re-running the job finds the same open PR and commit, so gh pr checks --watch returns that commit's old results, and test-site doesn't run its checks again. One failed run can't recover on re-run, and failed runs leave the test-site PR open.

Possible fix: add github.run_attempt to the branch name, and close the test-site PR when the job ends whether it passed or failed.

Refs: #126, MapColonies/test-site#153

Activity

  1. self-assigned this
    on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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