dev: run workflows only if certain file paths change (#5103)

* dev: run workflows only if certain file paths change

* fix: looks like you can't ? a /

* feat: simpler approach

Don't run Rust if only package.json, package-lock.json or anything under
web/packages has changed.

Don't run either if they only have docs changes.
This commit is contained in:
Chris Midgley 2021-08-23 21:19:22 +01:00 committed by GitHub
parent 708c274069
commit 60cf947334
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,11 @@ on:
branches: [master]
pull_request:
branches: [master]
paths-ignore:
- 'web/package.json'
- 'web/package-lock.json'
- 'web/packages/**'
- '**.md'
jobs:
build:

View File

@ -5,6 +5,8 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
paths-ignore:
- '**.md'
jobs:
build: