1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-08-12 00:34:00 +00:00

Limits PR size check to core modifications

Cherry picked from #9051
This commit is contained in:
Jeremy Ruston 2025-06-03 17:35:37 +01:00
parent 2871bd543b
commit 0cb7f0ead0

View File

@ -2,6 +2,11 @@ name: Calculate PR build size
on:
pull_request_target:
types: [opened, reopened, synchronize]
paths:
- 'boot/**'
- 'core/**'
- 'themes/snowwhite/**'
- 'themes/vanilla/**'
jobs:
calculate-build-size:
@ -19,7 +24,7 @@ jobs:
with:
pr_number: ${{ github.event.pull_request.number }}
repo: ${{ github.repository }}
base_ref: ${{ github.base_ref }}
base_ref: ${{ github.event.pull_request.base.ref }}
github_token: ${{ secrets.GITHUB_TOKEN }}
mode: size:calc