GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Github/pullrequest action using merge.strategy: client with after: 0m — "Pull Request is not mergeable" error in clean stage after successful merge · Issue #9003 · updatecli/updatecli

Github/pullrequest action using merge.strategy: client with after: 0m — "Pull Request is not mergeable" error in clean stage after successful merge #9003

New issue
Copy link
New issue
Copy link
Closed
#9133
Closed
Github/pullrequest action using merge.strategy: client with after: 0m — "Pull Request is not mergeable" error in clean stage after successful merge#9003
#9133
Copy link
Labels
bugSomething isn't working

Description

@perlan
perlan
opened on May 29, 2026
Issue body actions

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When using merge.strategy: client (with any after value that allows immediate merging, e.g. after: 0m), the action correctly creates and merges the pull request, but the run still ends with an error during the clean stage:

ERROR: Failed to clean up action(s): merging pull request: Pull Request is not mergeable
ERROR: - merging pull request: Pull Request is not mergeable
ERROR: cleaning action stage: "failed to clean up action(s):\n\tmerging pull request: Pull Request is not mergeable"

Expected Behavior

updatecli pipeline apply should create and merge the pull request with out any error

Steps To Reproduce

actions:
  myAction:
    kind: github/pullrequest
    scmID: myGithub
    spec:
      merge:
        strategy: client
        after: 0m

Run updatecli pipeline apply. The pull request is created and merged successfully, but the run exits with the error above.

Environment

- OS:Tested on macOS and GitHub action workflow using ubuntu
- updatecli: v0.117.1

Pipeline Graph

No response

OpenTelemetry Trace

No response

Anything else?

Looking through the code in pullrequest.go, it seems like the error is coming from CleanAction that calls mergeAfterDuration() on a PR that was already merged by CreateAction.

Activity

  1. perlan
    added
    bugSomething isn't working
    on May 29, 2026
  2. olblak
    added this to updateclion May 29, 2026
  3. github-project-automation
    moved this to Todo in updateclion May 29, 2026
  4. olblak
    closed this as completedin #9133on Jul 4, 2026
  5. github-project-automation
    moved this from Todo to Done in updateclion Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    • updatecli
      Status
      Done
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.