drone / proposal

Drone Project Design Documents
13 stars 4 forks source link

Comment and label content as trigger #35

Open tautf opened 1 year ago

tautf commented 1 year ago

Ref: https://community.harness.io/t/pr-comment-or-label-as-trigger/12734

We are currently starting with drone and i am wondering if there is a opportunity to trigger certain pipelines or tasks based on comment or a label.

Forexample we have task inside our pipeline which requires a lot of resources and should on be fired once and not foreach commit.

So there would be several options for us to run this task.

I have seen that there is triggers like here: https://docs.drone.io/pipeline/triggers/#by-action where i can catch labeled, but how can i filter for the labels content? Same for comment etc.

We are using Gitea which is able to send a webhool every time labeled, commented and reviewed etc.

I have seen this issue on Github: https://github.com/harness/drone/issues/2056. It's. still open, is there any update on it or is there an alternative way?

Thanks in advance

tonglil commented 1 year ago

Also see: https://github.com/harness/drone/issues/1878

liangyuanpeng commented 1 year ago

I also need this feature. trigger by issue comment. :)

dipalparmar commented 5 months ago

Any updates here? I need this feature