Conditions/triggers: include vs list

I understand how exclude works, but is there an actual difference between using include and simply listing all the desired values of a given condition/trigger in Drone? For example:

trigger:
  branch:
  - master
  - feature/*

vs

trigger:
  branch:
    include:
    - master
    - feature/*

nope, they are the same. the top example is shorthand for the bottom example

1 Like