diff --git a/.appveyor.yml b/.appveyor.yml index 9632f103..61b1f264 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -172,6 +172,15 @@ install: #- sh: "[ -f ${HOME}/dlinstaller_env.sh ] && . ${HOME}/dlinstaller_env.sh || true" +# only run the CI if there are code changes, tooling changes, +# or changes in `.appveyor.yml` +only_commits: + files: + - .appveyor.yml + - datalad_helloworld/ + - tools/ + + #before_build: # diff --git a/changelog.d/pr-94.md b/changelog.d/pr-94.md new file mode 100644 index 00000000..b6cd4fac --- /dev/null +++ b/changelog.d/pr-94.md @@ -0,0 +1,4 @@ +### 🚀 Enhancements and New Features + +- Add an `only_comits.files` example to `.appveyor.yml`. This illustrates how to limit builds to code changes, tool changes, and changes in `.appveyor.yml` itself. + https://github.com/datalad/datalad-helloworld/pull/94 (by [@christian-monch](https://github.com/christian-monch))