automerge-action icon indicating copy to clipboard operation
automerge-action copied to clipboard

I am coping

Open machiecodes opened this issue 2 years ago • 6 comments

Trying to make it just automatically merge every PR no matter what labels or anything it has, but this doesn't work, any idea why and how I would go about fixing it? image

machiecodes avatar Jan 16 '23 02:01 machiecodes

We need some more information here, for example links to workflows where it wasn't running as expected, or output copied from the workflows

pascalgn avatar Feb 18 '23 13:02 pascalgn

+1--MERGE_LABELS="" doesn't seem to works as documented.

I just copied the vanilla config, and added MERGE_LABELS: ""

rbren avatar Feb 21 '23 02:02 rbren

This might be because MERGE_LABELS: "" might be treated as if no merge labels config is set, and then it uses the default setting. Try MERGE_LABELS: "!x" (merge every PR that does not have the x label set), I think it will work 👍

pascalgn avatar Apr 15 '23 13:04 pascalgn

We're facing the same issue. Using MERGE_LABELS="!x" doesn't work either. Apparently, automerge action still requires the automerge label to be set:

2023-10-23T14:10:38.439Z INFO  Skipping PR update, required label missing: automerge

ifosch avatar Oct 23 '23 14:10 ifosch

We have this working: Apparently, the problem is missing the default UPDATE_LABEL. When we set this environment variable to "", then everything seems to work well FYI @RickyTheRacc @rbren

ifosch avatar Oct 23 '23 14:10 ifosch

@ifosch are you saying that MERGE_LABELS does not work unless you also set UPDATE_LABEL: ""?

q-yusufmahtab avatar Jul 26 '24 17:07 q-yusufmahtab