⚒ Workflow updates to only trigger when needed (#4352)

This commit is contained in:
Michael Clark
2025-02-11 14:54:40 +00:00
committed by GitHub
parent be2126e136
commit 6710456c05
4 changed files with 11 additions and 8 deletions

View File

@@ -6,12 +6,12 @@ on:
branches:
- master
paths:
- packages/sync-server
- 'packages/sync-server/**'
pull_request:
branches:
- master
paths:
- packages/sync-server
- 'packages/sync-server/**'
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

View File

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

View File

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

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [MikesGlitch]
---
Updating the workflows to ignore directories properly