Skip to content

misterdownloadmanager: The ultimate open-source, clean-room download manager written from scratch in pure Rust for Windows, Mac, and Linux

CI: skip the app builds for website and docs changes (#14)

Ahmed Nefzaoui2a9dd1aebfde
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 81e0358e..5a46ff09 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -4,10 +4,24 @@ name: CI
# Pushes to main only: a pull request's branch is tested once as the pull request (a bare push:
# ran everything twice), and a release tag's commit was already tested on main.
+# A change to the website or the docs alone builds nothing here (the app embeds none of it; the
+# Website workflow builds the site). The app's own catalogs, i18n/*.tsv, still run everything.
on:
push:
branches: [main]
+ paths-ignore:
+ - "website/**"
+ - "tools/website/**"
+ - "i18n/site/**"
+ - "docs/**"
+ - "**/*.md"
pull_request:
+ paths-ignore:
+ - "website/**"
+ - "tools/website/**"
+ - "i18n/site/**"
+ - "docs/**"
+ - "**/*.md"
# A newer commit on a pull request makes its older run moot: cancel it (main runs to the end).
concurrency: