microadam / drone-config-changeset-conditional

The Unlicense
65 stars 16 forks source link

include vs includes? #18

Open jimsheldon opened 4 years ago

jimsheldon commented 4 years ago

Hello!

We are very interested in using this plugin, but we are hoping to "future proof" it as much as possible.

Currently the required syntax is:

   when:
      changeset:
        includes: [ **/**.js, **/**.css, **/**.html ]

and

trigger:
  changeset:
    includes: [ **/**.go ]

All other drone syntax seems to use include rather than includes. Would you consider a new version of this plugin with a breaking change that switches to include to match drone's official syntax? Or maybe there is a way this plugin could support both include and includes?

microadam commented 4 years ago

Hi @jimsheldon more than happy for it to support both :)