Fix GitHub Actions path filters w/ globs

This commit is contained in:
Scott Bezek 2023-07-09 17:40:41 -07:00
parent d1495a8334
commit 1e2b1983c2
3 changed files with 16 additions and 16 deletions

View File

@ -3,15 +3,15 @@ name: Export Electronics
on: on:
push: push:
paths: paths:
- 'electronics' - 'electronics/**'
- 'util' - 'util/**'
- 'scripts' - 'scripts/**'
- '.github/workflows/electronics.yml' - '.github/workflows/electronics.yml'
pull_request: pull_request:
paths: paths:
- 'electronics' - 'electronics/**'
- 'util' - 'util/**'
- 'scripts' - 'scripts/**'
- '.github/workflows/electronics.yml' - '.github/workflows/electronics.yml'
jobs: jobs:

View File

@ -3,13 +3,13 @@ name: JS
on: on:
push: push:
paths: paths:
- 'software/js' - 'software/js/**'
- 'proto' - 'proto/**'
- '.github/workflows/js.yml' - '.github/workflows/js.yml'
pull_request: pull_request:
paths: paths:
- 'software/js' - 'software/js/**'
- 'proto' - 'proto/**'
- '.github/workflows/js.yml' - '.github/workflows/js.yml'
workflow_dispatch: workflow_dispatch:

View File

@ -3,16 +3,16 @@ name: PlatformIO CI
on: on:
push: push:
paths: paths:
- 'firmware' - 'firmware/**'
- 'proto' - 'proto/**'
- 'thirdparty/nanopb' - 'thirdparty/nanopb/**'
- 'platformio.ini' - 'platformio.ini'
- '.github/workflows/pio.yml' - '.github/workflows/pio.yml'
pull_request: pull_request:
paths: paths:
- 'firmware' - 'firmware/**'
- 'proto' - 'proto/**'
- 'thirdparty/nanopb' - 'thirdparty/nanopb/**'
- 'platformio.ini' - 'platformio.ini'
- '.github/workflows/pio.yml' - '.github/workflows/pio.yml'