Commands restrictions


  • Rules
  • Workflow Automation

It is now possible to limit usage of commands using the commands restrictions.

For example, to limit backport commands for pull requests coming from the main branch:

commands_restrictions:
  backport:
    conditions:
      - base=main

Another example, to limit backport commands usage to a specific team (or user):

commands_restrictions:
  backport:
    conditions:
      - sender=@team