Closed
Bug 1422359
Opened 7 years ago
Closed 7 years ago
Have way to distinguish PR from merge in .taskcluster.yml
Categories
(Taskcluster :: Services, enhancement)
Taskcluster
Services
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1335915
People
(Reporter: gerard-majax, Assigned: bstack)
Details
It would be great if we could distinguish between both. This would allow to leverage more the custom IRC notifications. One example:
> notify:
> ircChannelMessage: 'Decision Task for https://github.com/{{ event.base.user.login }}/{{ event.base.repo.name }}/pull/{{ event.pullNumber }} from https://github.com/{{ event.head.user.login }}/{{ event.head.repo.name }}/tree/{{ event.head.repo.branch }} is "${status.state}": https://tools.taskcluster.net/groups/${status.taskGroupId}'
> #$if: 'event.event == "push"'
> #then:
> # ircChannelMessage: 'Decision Task for merge in {{ event.head.repo.url }}/{{ event.head.repo.branch }} is "${status.state}": https://tools.taskcluster.net/groups/${status.taskGroupId}'
> #else:
You can see the commented JSON-e block, which obviously does not work as of today :)
Reporter | ||
Updated•7 years ago
|
Assignee: nobody → bstack
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•6 years ago
|
Component: Github → Services
You need to log in
before you can comment on or make changes to this bug.
Description
•