Once your task is setup in the repository taskgraph, usually in taskcluster/ci/source-test, you'll need to add an attribute to the task definition so the code-review bot will automatically start your task on new diffs.
It's simple to add:
attributes:
code-review: true
Here is an example for clang tasks
Ask the linter-reviewers group for review on that step, especially if you add a task in a different namespace than source-test
NSS is already integrated in the code-review bot workflow, using its own decision task (no taskgraph here).
To add a new analyzer, you'll need to add a task in automation/taskcluster/graph/src/extend.js
, with the tag code-review
. You can lookup the clang-tidy
for a sample implementation.