Activate a policy
  • 16 Feb 2020
  • 1 Minute To Read
  • Contributors
  • Share
  • Dark

Activate a policy

  • Share
  • Dark

This procedure describes how to install Datree on your GitHub organization account.

1. Active Datree's Smart Policy

Navigate to the Datree Policy Management pane , and toggle Smart Policy Management to ON

This is a one-time setup


2. Choose your policies

Select the policies you wish to enforce by sliding their toggle button to ON.


Not sure which policies you should activate?
Check your Status Report in order to know!

3. Choose your repositories

By default, all repositories are opt-in, meaning you must choose which repositories you would like the policy to run on: - Code Policy Enforcement Solution 2019-07-02 16-53-23

  • Enable on new repositories by default - automatically sets the policy on new repositories
  • Enable All - activate a policy on all the repositories - Code Policy Enforcement Solution 2019-07-02 16-58-53

4. Check your policy in action

Datree automatically adds a new check mark per each pull request opened in the selected repositories:

A green check mark denotes the pull request met the requirements of the configured policies πŸ˜ƒ


A red mark denotes the pull request violated one of the configured policies 😡


Click Details to provide more details regarding which policies passed or failed.

Was This Article Helpful?