Update trigger conditions
- Only run when changes are made on files inside 'sunshine' directory - Prevents workflow from running again when this workflow pushes changes back into 'locale' directory - Should be cleaner than using 'paths-ignore'
This commit is contained in:
4
.github/workflows/localize.yml
vendored
4
.github/workflows/localize.yml
vendored
@@ -3,8 +3,8 @@ name: localize
|
||||
on:
|
||||
push:
|
||||
branches: [nightly]
|
||||
paths-ignore:
|
||||
- 'locale/**'
|
||||
paths: # prevents workflow from running again when this workflow pushes changes back into 'locale' directory
|
||||
- 'sunshine/**' # only localizing files inside sunshine directory
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
Reference in New Issue
Block a user