-1

I am trying to setup yml for coverity scan in Devops only for main and dev and not other branches

schedules:
- cron: "0 3 * * 1-7"
  displayName: Daily late night coverity run
  branches:
    include:
    - main
    - dev
  always: true


Jcide
  • 141
  • 1
  • 5

1 Answers1

0

Yes, your script will work as your expection. This version of the YAML file are checked into the main and dev branches not others.

You could also refer to this doc for details: Scheduled triggers in YAML

enter image description here

Kim Xu-MSFT
  • 1,819
  • 1
  • 2
  • 4