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:
ReenigneArcher 2022-03-11 14:00:23 -05:00
commit f1d82a7d09

View file

@ -3,8 +3,8 @@ name: localize
on: on:
push: push:
branches: [nightly] branches: [nightly]
paths-ignore: paths: # prevents workflow from running again when this workflow pushes changes back into 'locale' directory
- 'locale/**' - 'sunshine/**' # only localizing files inside sunshine directory
workflow_dispatch: workflow_dispatch:
jobs: jobs: