Allow labels value to have template variables


  • Rules

You can now leverage templates in the label action.

This allows for example to add labels based on the branch name:

pull_request_rules:
  - name: tag with branch
	  conditions:
      - base!=main
    actions:
      label:
        add:
          - branch:{{base}}