Continuing the discussion from Avoid "Build trigger failed" spam in activity list:
For example, there may be a switch somewhere in app settings which will disable all those events or (more flexible) add a new key to
trigger_map, like that:
- push_branch: "master"
- push_branch: "*"
From the original #question-answer topic:
I don’t want to trigger any workflow for particular event e.g. push to a branch matching a given pattern, so I don’t specify any mapping in
trigger_map according to the documentation. It works, however, activity list is polluted by messages like
Build trigger failed: trigger-pattern (push_branch:foo) (pr_source_branch:) (pr_target_branch:) (tag:) did not match any defined workflow in trigger_map
Since there is intentionally no trigger for that event I also don’t want failure messages.
Is there any way to prevent them? I haven’t found anything in the docs.