☁️ Server workflows run only when server files have changed (#4348)

* making the server workflows run only when server files have changed

* release notes

* also on merge to master

* rabbit suggestion

* e2e tests and size compare dont need to run when server changes

* adding to the paths ignore
This commit is contained in:
Michael Clark
2025-02-10 22:46:25 +00:00
committed by GitHub
parent ac08b87273
commit be2126e136
6 changed files with 25 additions and 7 deletions

View File

@@ -5,12 +5,13 @@ on:
push:
branches:
- master
paths-ignore:
- README.md
- LICENSE.txt
paths:
- packages/sync-server
pull_request:
branches:
- master
paths:
- packages/sync-server
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

View File

@@ -1,6 +1,10 @@
name: E2E Tests
on: [pull_request]
on:
pull_request:
paths-ignore:
- packages/sync-server
- upcoming-release-notes
env:
GITHUB_PR_NUMBER: ${{github.event.pull_request.number}}

View File

@@ -13,6 +13,9 @@ name: Compare Sizes
on:
pull_request_target:
paths-ignore:
- packages/sync-server
- upcoming-release-notes
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}