Skip to content

Commit

Permalink
CI: Only trigger workflows if there are modifications to schema files
Browse files Browse the repository at this point in the history
  • Loading branch information
graphemecluster committed Dec 1, 2024
1 parent 6e04035 commit 2014519
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@ on:
push:
branches:
- main
paths:
- '*.yaml' # root directory only
- '*.txt'
- 'opencc/**'
pull_request:
branches:
- main
paths:
- '*.yaml'
- '*.txt'
- 'opencc/**'
workflow_dispatch:
inputs:
logLevel:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches:
- main
paths:
- '*.yaml' # root directory only
- '*.txt'
- 'opencc/**'

jobs:
mac_linux:
Expand Down

0 comments on commit 2014519

Please sign in to comment.